Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit c07a292

Browse files
committed
templates: etcd operator should select master nodes
1 parent 172994e commit c07a292

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/asset/internal/templates.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,8 @@ spec:
875875
valueFrom:
876876
fieldRef:
877877
fieldPath: metadata.name
878+
nodeSelector:
879+
node-role.kubernetes.io/master: ""
878880
tolerations:
879881
- key: node-role.kubernetes.io/master
880882
operator: Exists

0 commit comments

Comments
 (0)