Add deploymentAnnotations (#86)
* add deploymentAnnotations * remove duplicate podAnnotation
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 1.16.0.1226-7eb2c8f6f
|
||||
description: Plex Media Server
|
||||
name: kube-plex
|
||||
version: 0.2.6
|
||||
version: 0.2.7
|
||||
keywords:
|
||||
- plex
|
||||
home: https://plex.tv/
|
||||
|
||||
@@ -47,12 +47,13 @@ The following tables lists the configurable parameters of the Plex chart and the
|
||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
||||
| `persistence.config.accessMode` | Persistent volume access mode | `ReadWriteMany` |
|
||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
| `proxy.enable` | use to enable PMS proxy environmental variable | `{false}` |
|
||||
| `proxy.http` | HTTP_PROXY value 'http://proxy.lan:8080' | `{}` |
|
||||
| `proxy.https` | HTTPS_PROXY value 'http://proxy.lan:8080' | `{}` |
|
||||
| `proxy.noproxy` | NO_PROXY value 'localhost,127.0.0.1,10.96.0.0/12,10.244.0.0/12' | `{}` |
|
||||
| `tolerations` | Pod tolerations | `[]` |
|
||||
| `affinity` | Pod affinity configuration | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
||||
|
||||
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.
|
||||
|
||||
@@ -7,6 +7,12 @@ metadata:
|
||||
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
{{- if .Values.deploymentAnnotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.deploymentAnnotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
|
||||
@@ -131,6 +131,8 @@ resources: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
deploymentAnnotations: {}
|
||||
|
||||
proxy:
|
||||
# This allows to set a proxy environment variable, which PMS uses to fetch the token and assets like movie cover
|
||||
enable: false
|
||||
|
||||
Reference in New Issue
Block a user