diff --git a/charts/peertube/templates/deployment.yaml b/charts/peertube/templates/deployment.yaml index 437c3c3..dfeddf2 100644 --- a/charts/peertube/templates/deployment.yaml +++ b/charts/peertube/templates/deployment.yaml @@ -37,6 +37,9 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.extraPodSpec }} + {{- toYaml . | nindent 6 }} + {{- end }} serviceAccountName: {{ include "peertube.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} diff --git a/charts/peertube/values.yaml b/charts/peertube/values.yaml index 8e5f271..5238b02 100644 --- a/charts/peertube/values.yaml +++ b/charts/peertube/values.yaml @@ -97,6 +97,11 @@ extraEnv: [] extraSecret: {} # 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 ## See: https://github.com/bitnami/charts/tree/master/bitnami/postgresql ##