2022-04-08 15:09:40 +00:00
|
|
|
apiVersion: kubeadm.k8s.io/v1beta3
|
2021-01-03 15:33:13 +00:00
|
|
|
kind: InitConfiguration
|
|
|
|
localAPIEndpoint:
|
2021-10-07 14:43:12 +00:00
|
|
|
advertiseAddress: {{ .Values.listenAddress }}
|
2021-05-28 15:16:36 +00:00
|
|
|
bindPort: {{ .Values.api.listenPort }}
|
2022-04-08 15:09:40 +00:00
|
|
|
patches:
|
|
|
|
directory: /tmp/patches
|
2021-01-03 15:33:13 +00:00
|
|
|
nodeRegistration:
|
|
|
|
ignorePreflightErrors:
|
|
|
|
- DirAvailable--var-lib-etcd
|
2021-12-15 22:19:15 +00:00
|
|
|
- DirAvailable--etc-kubernetes-manifests
|
|
|
|
- FileAvailable--etc-kubernetes-pki-ca.crt
|
|
|
|
- FileAvailable--etc-kubernetes-manifests-etcd.yaml
|
|
|
|
- Swap
|
2021-05-28 15:16:36 +00:00
|
|
|
- KubeletVersion
|
2021-01-03 15:33:13 +00:00
|
|
|
kubeletExtraArgs:
|
|
|
|
node-labels: {{ .Values.nodeLabels | quote }}
|
2021-06-29 15:39:44 +00:00
|
|
|
{{- with .Values.providerID }}
|
|
|
|
provider-id: {{ . }}
|
|
|
|
{{- end }}
|
2021-12-15 22:19:15 +00:00
|
|
|
{{- if ne .Values.listenAddress "0.0.0.0" }}
|
|
|
|
node-ip: {{ .Values.listenAddress }}
|
|
|
|
{{- end }}
|