Skip to content

Commit

Permalink
makes the update image variable
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed May 11, 2023
1 parent 49894bb commit e7202fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/gdscan/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- name: G DATA CyberDefense AG
email: oem@gdata.de
type: application
version: 0.8.1
version: 0.8.2
2 changes: 1 addition & 1 deletion charts/gdscan/templates/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
restartPolicy: Never
containers:
- name: kubectl
image: bitnami/kubectl
image: "{{ .Values.autoUpdate.image.registry }}/{{ .Values.autoUpdate.image.repository }}:{{ .Values.autoUpdate.image.tag }}"
command:
- "kubectl"
- "rollout"
Expand Down
4 changes: 4 additions & 0 deletions charts/gdscan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ persistence:
storageClass: ""

autoUpdate:
image:
registry: docker.io
repository: bitnami/kubectl
tag: latest
enabled: true
# every hour
schedule: "0 * * * *"
Expand Down

0 comments on commit e7202fb

Please sign in to comment.