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:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
{{- toYaml .Values.tap.nodeselectorterms | nindent 12 }}
containers:
- args:
- --config=controller_manager_config.yaml