Skip to content

Commit

Permalink
fixing cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsaylandry committed Jan 31, 2024
1 parent 261614d commit 6d4acf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions charts/service/ci/custom-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ cronJobs:
memory: 50Mi
schedule: "* * * * *"
- name: bar
image:
repository: alpine
tag: "3.16"
image: alpine
tag: "3.16"
command: ["echo", "FOOBAR"]
useParentEnv: false
resources:
Expand Down
2 changes: 1 addition & 1 deletion charts/service/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
spec:
serviceAccountName: {{ $serviceAccountName }}
containers:
- image: "{{ .image.repository | default $image }}:{{ .image.tag | default $tag }}"
- image: "{{ .image | default $image }}:{{ .tag | default $tag }}"
imagePullPolicy: {{ $imagePullPolicy }}
name: {{ .name }}
env:
Expand Down

0 comments on commit 6d4acf5

Please sign in to comment.