Skip to content

Commit

Permalink
Fix Helm template indentation in env (#327)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitrii Ermakov <[email protected]>
  • Loading branch information
ErmakovDmitriy and Dmitrii Ermakov authored Feb 14, 2025
1 parent d7c1bea commit b2248ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/charts/version-checker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: "v0.8.5"
version: "v0.8.5"
version: "v0.8.6"
description: A Helm chart for version-checker
home: https://github.com/jetstack/version-checker
name: version-checker
Expand Down
6 changes: 3 additions & 3 deletions deploy/charts/version-checker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ spec:
{{- include "version-checker.pod.envs.ghcr" . | nindent 8 }}
{{- include "version-checker.pod.envs.quay" . | nindent 8 }}
{{- include "version-checker.pod.envs.selfhosted" . | nindent 6 }}
# Extra Envs
# Extra Envs
{{- if .Values.env }}
{{- toYaml .Values.env | nindent 8 }}
{{- toYaml .Values.env | nindent 10 }}
{{- end }}
volumeMounts:
{{- with .Values.extraVolumeMounts }}
volumeMounts:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.podSecurityContext }}
Expand Down
5 changes: 4 additions & 1 deletion deploy/charts/version-checker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ quay:
token:

# -- Can be used to provide custom environment variables e.g. proxy settings
env: {}
env:
[]
# - name: MY_VAR
# value: MY_VAR_VALUE

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

0 comments on commit b2248ee

Please sign in to comment.