Skip to content

Commit

Permalink
fix: add annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jul 24, 2023
1 parent 24cce59 commit 17a0758
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/contrib/charts/metabase/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ metadata:
application: {{ .Values.global.repositoryName }}
name: {{ (or .Values.component .Chart.Name) | lower }}
namespace: {{ or .Values.namespace .Values.global.namespace }}
annotations: {}
annotations:
{{ if .Values.annotations }}
{{ range $key, $val := .Values.annotations }}
"{{ $key }}": {{ $val | quote }}
{{ end }}
{{ end }}
spec:
replicas: 1
selector:
Expand Down
1 change: 1 addition & 0 deletions plugins/contrib/charts/metabase/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ envFrom: []
ingress:
enabled: true
annotations: {}
annotations: {}

matomo:
cronjob:
Expand Down

0 comments on commit 17a0758

Please sign in to comment.