diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index b10d2bf..3bb3939 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: metadata: annotations: checksum/config: {{ include "owsec.config" . | sha256sum }} + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: app.kubernetes.io/name: {{ include "owsec.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/helm/values.yaml b/helm/values.yaml index a9e10cf..19c1844 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -95,6 +95,8 @@ tolerations: [] affinity: {} +podAnnotations: {} + persistence: enabled: true # storageClassName: "-"