Skip to content

Commit

Permalink
prepare-etcd-secret: apply the label changes after v1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
sungil committed Jun 24, 2023
1 parent 7c55c68 commit ad4d135
Showing 1 changed file with 12 additions and 7 deletions.
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

0 comments on commit ad4d135

Please sign in to comment.