support for pod annotations
Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: 1.10.1.4602-f54242b6b
|
appVersion: 1.16.0.1226-7eb2c8f6f
|
||||||
description: Plex Media Server
|
description: Plex Media Server
|
||||||
name: kube-plex
|
name: kube-plex
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
home: https://plex.tv/
|
home: https://plex.tv/
|
||||||
|
|||||||
@@ -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.subPath` | SubPath to use for existing Claim | `nil` |
|
||||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
||||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
| `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.
|
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.
|
||||||
|
|||||||
@@ -20,6 +20,12 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: {{ template "name" . }}
|
app: {{ template "name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
{{- if .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.podAnnotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}{{ .Values.rbac.serviceAccountName | quote }}{{ end }}
|
serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}{{ .Values.rbac.serviceAccountName | quote }}{{ end }}
|
||||||
hostname: "{{ template "fullname" . }}"
|
hostname: "{{ template "fullname" . }}"
|
||||||
|
|||||||
@@ -116,3 +116,5 @@ resources: {}
|
|||||||
# requests:
|
# requests:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user