Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare-etcd-secret: apply the label changes after v1.20 #236

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1133,13 +1133,18 @@ spec:
client_certfile: peer.crt
client_keyfile: peer.key
# master node의 label을 환경에 맞게 적어야함
# ex) "node-role.kubernetes.io/master": ""
nodeSelector: {} # TO_BE_FIXED
# master node에 taint가 있는 경우 필요
# ex) - key: "node-role.kubernetes.io/master"
# effect: "NoSchedule"
# operator: "Exists"
tolerations: [] # TO_BE_FIXED
# ex) 1.20< "node-role.kubernetes.io/master": ""
# >1.20 "node-role.kubernetes.io/control-plane": ""
# ref. https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md#urgent-upgrade-notes
nodeSelector:
"node-role.kubernetes.io/control-plane": ""
tolerations:
- key: "node-role.kubernetes.io/control-plane"
effect: "NoSchedule"
operator: "Exists"
- key: "node-role.kubernetes.io/master"
effect: "NoSchedule"
operator: "Exists"
deployer: "tks"
---
apiVersion: helm.fluxcd.io/v1
Expand Down