Merge "Add toleration to vault Pod objects"

This commit is contained in:
Zuul 2021-10-01 17:10:59 +00:00 committed by Gerrit Code Review
commit 69abf5b7cb
2 changed files with 16 additions and 0 deletions

View File

@ -60,6 +60,10 @@ data:
image:
repository: starlingx/stx-vault-manager
tag: stx.5.0-v1.18.3
tolerations: |
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
injector:
enabled: true
nodeSelector: |
@ -70,6 +74,10 @@ data:
agentImage:
repository: vault
tag: 1.4.2
tolerations: |
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
server:
affinity: |
podAntiAffinity:
@ -83,6 +91,10 @@ data:
image:
repository: vault
tag: 1.4.2
tolerations: |
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
auditStorage:
enabled: true
size: 10Gi

View File

@ -199,6 +199,10 @@ spec:
imagePullSecrets:
{{- toYaml .Values.global.imagePullSecrets | nindent 8 }}
{{- end }}
{{- if .Values.manager.tolerations }}
tolerations:
{{- tpl .Values.manager.tolerations . | nindent 8 }}
{{- end }}
containers:
- name: manager
image: "{{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag }}"