support for pod annotations

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2019-07-11 23:14:57 -04:00
parent 240c687c41
commit f549b2d735
4 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -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/
+2
View File
@@ -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.
@@ -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" . }}"
+2
View File
@@ -116,3 +116,5 @@ resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
podAnnotations: {}