KubeZero/charts/kubeadm/templates/JoinConfiguration.yaml

17 lines
447 B
YAML
Raw Normal View History

2021-01-03 15:33:13 +00:00
apiVersion: kubeadm.k8s.io/v1beta2
kind: JoinConfiguration
discovery:
file:
kubeConfigPath: /root/.kube/config
controlPlane:
localAPIEndpoint:
advertiseAddress: IP_ADDRESS
bindPort: {{ regexSplit ":" .Values.apiEndpoint -1 | last }}
2021-01-03 15:33:13 +00:00
nodeRegistration:
ignorePreflightErrors:
- DirAvailable--var-lib-etcd
2021-03-15 10:51:56 +00:00
- FileAvailable--etc-kubernetes-pki-ca.crt
2021-01-03 15:33:13 +00:00
- Swap
kubeletExtraArgs:
node-labels: {{ .Values.nodeLabels | quote }}