diff --git a/charts/kube-plex/Chart.yaml b/charts/kube-plex/Chart.yaml index 346ebe7..59f227d 100644 --- a/charts/kube-plex/Chart.yaml +++ b/charts/kube-plex/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: 1.10.1.4602-f54242b6b +appVersion: 1.16.0.1226-7eb2c8f6f description: Plex Media Server name: kube-plex -version: 0.2.3 +version: 0.2.4 keywords: - plex home: https://plex.tv/ diff --git a/charts/kube-plex/README.md b/charts/kube-plex/README.md index f960c54..7a505c0 100644 --- a/charts/kube-plex/README.md +++ b/charts/kube-plex/README.md @@ -43,5 +43,7 @@ The following tables lists the configurable parameters of the Plex chart and the | `persistence.config.subPath` | SubPath to use for existing Claim | `nil` | | `persistence.config.storageClass` | Type of persistent volume claim | `-` | | `resources` | CPU/Memory resource requests/limits | `{}` | +| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` | + Read through the [values.yaml](values.yaml) file. It has several commented out suggested values. diff --git a/charts/kube-plex/templates/deployment.yaml b/charts/kube-plex/templates/deployment.yaml index a91b0f5..2538af9 100644 --- a/charts/kube-plex/templates/deployment.yaml +++ b/charts/kube-plex/templates/deployment.yaml @@ -20,6 +20,12 @@ spec: labels: app: {{ template "name" . }} release: {{ .Release.Name }} + {{- if .Values.podAnnotations }} + annotations: + {{- range $key, $value := .Values.podAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} spec: serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}{{ .Values.rbac.serviceAccountName | quote }}{{ end }} hostname: "{{ template "fullname" . }}" diff --git a/charts/kube-plex/values.yaml b/charts/kube-plex/values.yaml index 55b5c54..49c3f09 100644 --- a/charts/kube-plex/values.yaml +++ b/charts/kube-plex/values.yaml @@ -116,3 +116,5 @@ resources: {} # requests: # cpu: 100m # memory: 128Mi + +podAnnotations: {}