Skip to content

Commit

Permalink
feat: allow setting pod annotations
Browse files Browse the repository at this point in the history
Allow setting annotations for the Pod template in the StatefulSet spec.
  • Loading branch information
d3adb5 authored and cilindrox committed Apr 3, 2024
1 parent e8271cb commit c4dc0ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/plex-media-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions charts/plex-media-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4dc0ac

Please sign in to comment.