Skip to content

Commit

Permalink
fix: steampipe manifest (#30)
Browse files Browse the repository at this point in the history
* fix: steampipe manifest
  • Loading branch information
amartingarcia authored Sep 28, 2023
1 parent 3317d22 commit 0a10fcb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/steampipe/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: steampipe
description: A Helm chart for Kubernetes to deploy Steampipe
type: application
version: 1.0.0
appVersion: "0.20.2"
version: 1.0.1
appVersion: "0.20.12"
home: https://github.com/devops-ia/helm-charts/tree/main/charts/steampipe
sources:
- https://github.com/turbot/steampipe
Expand Down
20 changes: 20 additions & 0 deletions charts/steampipe/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@ spec:
- name: workspace
mountPath: /workspace
{{- end }}
{{- if .Values.extraConfig.secrets.enabled }}
- name: secrets
mountPath: /home/steampipe/.steampipe/config/azure.spc
subPath: azure.spc
{{- end }}
{{- if .Values.extraConfig.configMaps.enabled }}
- name: configmaps
mountPath: /home/steampipe/.steampipe/config/azure.spc
subPath: azure.spc
{{- end }}
{{- with .Values.extraVolumeMount }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -185,6 +195,16 @@ spec:
- name: workspace
emptyDir: {}
{{- end }}
{{- if .Values.extraConfig.secrets.enabled }}
- name: secrets
secret:
secretName: {{ template "steampipe.fullname" . }}-secrets
{{- end }}
{{- if .Values.extraConfig.configMaps.enabled }}
- name: configmaps
configMap:
name: {{ template "steampipe.fullname" . }}-config
{{- end }}
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/steampipe/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
data:
{{- range $key, $value := .Values.extraConfig.secrets.data }}
{{ $key }}: |-
{{ tpl $value $| indent 4 }}
{{ tpl $value $ | b64enc | indent 4 }}

{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/steampipe/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or (.Values.db.enabled) (.Values.db.enabled) }}
{{- if or (.Values.db.enabled) (.Values.dashboard.enabled) }}
apiVersion: v1
kind: Service
metadata:
Expand Down

0 comments on commit 0a10fcb

Please sign in to comment.