Skip to content

Commit

Permalink
update pruners to use configmaps (#4139)
Browse files Browse the repository at this point in the history
  • Loading branch information
d80tb7 authored Jan 14, 2025
1 parent 7975777 commit e53a2ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions deployment/lookout-v2/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ spec:
securityContext:
allowPrivilegeEscalation: false
volumes:
- name: user-config
secret:
secretName: {{ include "lookout_v2.config.name" . }}
- name: user-config
configMap:
name: {{ include "lookout_v2.config.name" . }}
{{- if .Values.additionalVolumes }}
{{- toYaml .Values.additionalVolumes | nindent 12 }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions deployment/scheduler/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ spec:
allowPrivilegeEscalation: false
volumes:
- name: user-config
secret:
secretName: {{ include "armada-scheduler-pruner.config.name" . }}
configMap:
name: {{ include "armada-scheduler-pruner.config.name" . }}
{{- if .Values.scheduler.additionalVolumes }}
{{- toYaml .Values.scheduler.additionalVolumes | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit e53a2ec

Please sign in to comment.