2021-01-03 15:33:13 +00:00
|
|
|
apiVersion: kubeadm.k8s.io/v1beta2
|
|
|
|
kind: JoinConfiguration
|
|
|
|
discovery:
|
2021-02-12 11:04:16 +00:00
|
|
|
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
|
2021-02-12 11:04:16 +00:00
|
|
|
kubeletExtraArgs:
|
|
|
|
node-labels: {{ .Values.nodeLabels | quote }}
|