From 5f87d7599e14735e41738a0e959c9f954c412240 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Wed, 14 Sep 2022 07:50:05 +0200 Subject: [PATCH] peertube: Allow extra pod spec values --- charts/peertube/templates/deployment.yaml | 3 +++ charts/peertube/values.yaml | 5 +++++ 2 files changed, 8 insertions(+) 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 ##