Skip to content

Commit b2248ee

Browse files
ErmakovDmitriyDmitrii Ermakov
and
Dmitrii Ermakov
authored
Fix Helm template indentation in env (#327)
Co-authored-by: Dmitrii Ermakov <[email protected]>
1 parent d7c1bea commit b2248ee

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

deploy/charts/version-checker/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
appVersion: "v0.8.5"
3-
version: "v0.8.5"
3+
version: "v0.8.6"
44
description: A Helm chart for version-checker
55
home: https://github.com/jetstack/version-checker
66
name: version-checker

deploy/charts/version-checker/templates/deployment.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ spec:
7272
{{- include "version-checker.pod.envs.ghcr" . | nindent 8 }}
7373
{{- include "version-checker.pod.envs.quay" . | nindent 8 }}
7474
{{- include "version-checker.pod.envs.selfhosted" . | nindent 6 }}
75-
# Extra Envs
75+
# Extra Envs
7676
{{- if .Values.env }}
77-
{{- toYaml .Values.env | nindent 8 }}
77+
{{- toYaml .Values.env | nindent 10 }}
7878
{{- end }}
79-
volumeMounts:
8079
{{- with .Values.extraVolumeMounts }}
80+
volumeMounts:
8181
{{- toYaml . | nindent 10 }}
8282
{{- end }}
8383
{{- with .Values.podSecurityContext }}

deploy/charts/version-checker/values.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ quay:
9595
token:
9696

9797
# -- Can be used to provide custom environment variables e.g. proxy settings
98-
env: {}
98+
env:
99+
[]
100+
# - name: MY_VAR
101+
# value: MY_VAR_VALUE
99102

100103
# -- ([]{name: "", host: "", username:"", password:"", token:""}]) Setup a number of SelfHosted Repositories and their credentials
101104
selfhosted:

0 commit comments

Comments
 (0)