diff --git a/charts/planka/Chart.yaml b/charts/planka/Chart.yaml index a99a59c1..5a8858e9 100644 --- a/charts/planka/Chart.yaml +++ b/charts/planka/Chart.yaml @@ -24,8 +24,8 @@ version: 0.1.3 appVersion: "1.13.0" dependencies: -- alias: postgresql - condition: postgresql.enabled - name: postgresql - repository: &bitnami-repo https://charts.bitnami.com/bitnami - version: 12.5.1 + - alias: postgresql + condition: postgresql.enabled + name: postgresql + repository: &bitnami-repo https://charts.bitnami.com/bitnami + version: 12.5.1 diff --git a/charts/planka/templates/deployment.yaml b/charts/planka/templates/deployment.yaml index 1af54075..c2f4f4a9 100644 --- a/charts/planka/templates/deployment.yaml +++ b/charts/planka/templates/deployment.yaml @@ -75,6 +75,10 @@ spec: value: {{ required "A secret key needs to be generated using 'openssl rand -hex 64' and assigned to secretkey." .Values.secretkey }} - name: TRUST_PROXY value: "0" + {{ range $k, $v := .Values.env }} + - name: {{ $k | quote }} + value: {{ $v | quote }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}