Skip to content

Commit

Permalink
fix indent for env and add it to test (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrich523 authored Jun 25, 2024
1 parent 1665a56 commit 84fa3a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/existing-secrets-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ credentials:
existingSecret: "my_existing_secret"

cronjob:
env:
- name: Extra_var
value: xyz
repoName: "repo_name"
repoCredentials:
existingSecret: "my_existing_secret"
Expand Down
2 changes: 1 addition & 1 deletion templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
key: password
{{- end }}
{{- with $job.env }}
{{ toYaml . | indent 12 }}
{{ toYaml . | indent 14 }}
{{- end }}
{{- with $job.envFrom }}
envFrom:
Expand Down

0 comments on commit 84fa3a7

Please sign in to comment.