peertube: Allow extra pod spec values

This commit is contained in:
Alexander "Ace" Olofsson 2022-09-14 07:50:05 +02:00
parent 87de280404
commit 5f87d7599e
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,9 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.extraPodSpec }}
{{- toYaml . | nindent 6 }}
{{- end }}
serviceAccountName: {{ include "peertube.serviceAccountName" . }} serviceAccountName: {{ include "peertube.serviceAccountName" . }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}

View file

@ -97,6 +97,11 @@ extraEnv: []
extraSecret: {} extraSecret: {}
# PEERTUBE_INSTANCE_TERMS: "These are some very secret terms-of-service" # PEERTUBE_INSTANCE_TERMS: "These are some very secret terms-of-service"
## Extra values to set on the pod spec.
## Can be used for setting things like host aliases, overhead, custom schedulers, etc
##
extraPodSpec: {}
## Self-deployed PostgreSQL database ## Self-deployed PostgreSQL database
## See: https://github.com/bitnami/charts/tree/master/bitnami/postgresql ## See: https://github.com/bitnami/charts/tree/master/bitnami/postgresql
## ##