feat: allow setting pod annotations

Allow setting annotations for the Pod template in the StatefulSet spec.
This commit is contained in:
d3adb5 2024-04-02 22:12:46 -07:00 committed by Gaston Festari
parent e8271cb901
commit c4dc0ac629
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ spec:
metadata:
labels:
{{- include "pms-chart.labels" . | nindent 8 }}
annotations:
{{- toYaml .Values.statefulSet.podAnnotations | nindent 8 }}
spec:
serviceAccountName: {{ include "pms-chart.serviceAccountName" . }}
tolerations:

View File

@ -143,6 +143,8 @@ serviceAccount:
statefulSet:
# optional extra annotations to add to the service resource
annotations: {}
# optional extra annotations to add to the pods in the statefulset
podAnnotations: {}
service:
type: ClusterIP