diff --git a/charts/meowbot/Chart.yaml b/charts/meowbot/Chart.yaml index 982c067..bdbf035 100644 --- a/charts/meowbot/Chart.yaml +++ b/charts/meowbot/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: meowbot description: A Helm chart for Kubernetes type: application -version: 0.1.0 +version: 0.2.0 appVersion: "1.0.3" diff --git a/charts/meowbot/templates/deployment.yaml b/charts/meowbot/templates/deployment.yaml index 812ea00..1b36bba 100644 --- a/charts/meowbot/templates/deployment.yaml +++ b/charts/meowbot/templates/deployment.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "meowbot.fullname" . }} labels: {{- include "meowbot.labels" . | nindent 4 }} + {{- with .Values.deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} diff --git a/charts/meowbot/values-non.yaml b/charts/meowbot/values-non.yaml index f379346..1bce0eb 100644 --- a/charts/meowbot/values-non.yaml +++ b/charts/meowbot/values-non.yaml @@ -34,3 +34,8 @@ envSecrets: key: dotablaze-tech-discord-bot-token property: token secretName: meowbot-non + +# Opt-in for Reloader: comma-separated Secret names, matching the two +# distinct secretName values among the envSecrets entries above. +deploymentAnnotations: + secret.reloader.stakater.com/reload: "meowbot-pg-non,meowbot-non" diff --git a/charts/meowbot/values-prd.yaml b/charts/meowbot/values-prd.yaml index 8c97f1d..9a43394 100644 --- a/charts/meowbot/values-prd.yaml +++ b/charts/meowbot/values-prd.yaml @@ -34,3 +34,8 @@ envSecrets: key: dotablaze-tech-discord-bot-token property: token secretName: meowbot-prd + +# Opt-in for Reloader: comma-separated Secret names, matching the two +# distinct secretName values among the envSecrets entries above. +deploymentAnnotations: + secret.reloader.stakater.com/reload: "meowbot-pg-prd,meowbot-prd"