From 17a0758c2f56dfccc5feba2084e8af6af83f4bf8 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Mon, 24 Jul 2023 22:34:51 +0200 Subject: [PATCH] fix: add annotations --- plugins/contrib/charts/metabase/templates/deployment.yaml | 7 ++++++- plugins/contrib/charts/metabase/values.yaml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/contrib/charts/metabase/templates/deployment.yaml b/plugins/contrib/charts/metabase/templates/deployment.yaml index d807c28b0c..9c88544bbb 100644 --- a/plugins/contrib/charts/metabase/templates/deployment.yaml +++ b/plugins/contrib/charts/metabase/templates/deployment.yaml @@ -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: diff --git a/plugins/contrib/charts/metabase/values.yaml b/plugins/contrib/charts/metabase/values.yaml index 1a6a4d394c..b3ec8a70ec 100644 --- a/plugins/contrib/charts/metabase/values.yaml +++ b/plugins/contrib/charts/metabase/values.yaml @@ -7,6 +7,7 @@ envFrom: [] ingress: enabled: true annotations: {} +annotations: {} matomo: cronjob: