diff --git a/charts/plex-media-server/templates/statefulset.yaml b/charts/plex-media-server/templates/statefulset.yaml index 0e0dc33..6ce15f2 100644 --- a/charts/plex-media-server/templates/statefulset.yaml +++ b/charts/plex-media-server/templates/statefulset.yaml @@ -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: diff --git a/charts/plex-media-server/values.yaml b/charts/plex-media-server/values.yaml index 9fa37ab..4c04783 100644 --- a/charts/plex-media-server/values.yaml +++ b/charts/plex-media-server/values.yaml @@ -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