Skip to content

Commit

Permalink
NET-6575- Add ConfigMap volume mount to gateway cleanup job (#3301)
Browse files Browse the repository at this point in the history
* add volume mount

* fix spacing
  • Loading branch information
sarahalsmiller authored Dec 5, 2023
1 parent c4f2621 commit 46bf9bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/consul/templates/gateway-cleanup-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,16 @@ spec:
limits:
memory: "50Mi"
cpu: "50m"
volumeMounts:
- name: config
mountPath: /consul/config
readOnly: true
{{- if .Values.global.acls.tolerations }}
tolerations:
{{ tpl .Values.global.acls.tolerations . | indent 8 | trim }}
{{- end }}
volumes:
- name: config
configMap:
name: {{ template "consul.fullname" . }}-gateway-resources-config
{{- end }}

0 comments on commit 46bf9bf

Please sign in to comment.