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

View File

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