Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: steampipe manifest #30

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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