[mini-mirror] Add node selector label to pod spec
This PS adds node selector labels to deployment pod spec to avoid mini mirror from getting deployed to compute nodes. Change-Id: Ie898616e4d15ce6ce1736df863b3514e03433ee7
This commit is contained in:
parent
d0100055af
commit
aad032a9b5
|
@ -40,6 +40,8 @@ spec:
|
|||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
spec:
|
||||
nodeSelector:
|
||||
{{ .Values.labels.server.node_selector_key }}: {{ .Values.labels.server.node_selector_value }}
|
||||
containers:
|
||||
- name: mini-mirror-api
|
||||
{{ tuple $envAll "mini-mirror" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||
|
|
Loading…
Reference in New Issue