Use the nodeselectorterms from values.yaml in the kmm-operator-controller-manager deployment

This commit is contained in:
M. Mert Yildiran 2023-08-12 02:44:35 +03:00
parent f4ff4d4dd6
commit 7dcb2d23a0
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -3258,12 +3258,7 @@ spec:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: {{- toYaml .Values.tap.nodeselectorterms | nindent 12 }}
- key: node-role.kubernetes.io/control-plane
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
containers: containers:
- args: - args:
- --config=controller_manager_config.yaml - --config=controller_manager_config.yaml