Add Tolerations to mariadb-controller pod
This commit adds the same tolerations that is in mariadb-server, to the mariadb-controller pod definition. Change-Id: Ida700bbb90bcbb06ac8de8a56899102494aa4c4d Signed-off-by: Daniel Caires <DanielMarques.Caires@windriver.com>
This commit is contained in:
parent
f37dd907f9
commit
de90bf1aff
@ -82,6 +82,9 @@ spec:
|
||||
{{ dict "envAll" $envAll "application" "controller" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
affinity:
|
||||
{{ tuple $envAll "mariadb" "controller" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
||||
{{ if $envAll.Values.pod.tolerations.mariadb.enabled }}
|
||||
{{ tuple $envAll "mariadb" | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||
{{ end }}
|
||||
nodeSelector:
|
||||
{{ .Values.labels.controller.node_selector_key }}: {{ .Values.labels.controller.node_selector_value }}
|
||||
initContainers:
|
||||
|
Loading…
x
Reference in New Issue
Block a user