From cef65da7d89447ea97360a719d941b0b0589a77d Mon Sep 17 00:00:00 2001 From: Max Brenner Date: Fri, 5 Nov 2021 14:43:14 +0100 Subject: [PATCH] allow to set pod annotations --- helm/templates/deployment.yaml | 3 +++ helm/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 921a9cfc..8b054de2 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: metadata: annotations: checksum/config: {{ include "owgw.config" . | sha256sum }} + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: app.kubernetes.io/name: {{ include "owgw.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/helm/values.yaml b/helm/values.yaml index 4c978667..24aafd54 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -119,6 +119,8 @@ tolerations: [] affinity: {} +podAnnotations: {} + persistence: enabled: true # storageClassName: "-"