Merge pull request #64 from billimek/annotations
support for pod annotations
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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" . }}"
|
||||
|
||||
@@ -116,3 +116,5 @@ resources: {}
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
Reference in New Issue
Block a user