24 lines
695 B
YAML
24 lines
695 B
YAML
apiVersion: kubeadm.k8s.io/v1beta3
|
|
kind: InitConfiguration
|
|
localAPIEndpoint:
|
|
advertiseAddress: {{ .Values.listenAddress }}
|
|
bindPort: {{ .Values.api.listenPort }}
|
|
patches:
|
|
directory: /tmp/patches
|
|
nodeRegistration:
|
|
ignorePreflightErrors:
|
|
- DirAvailable--var-lib-etcd
|
|
- DirAvailable--etc-kubernetes-manifests
|
|
- FileAvailable--etc-kubernetes-pki-ca.crt
|
|
- FileAvailable--etc-kubernetes-manifests-etcd.yaml
|
|
- Swap
|
|
- KubeletVersion
|
|
kubeletExtraArgs:
|
|
node-labels: {{ .Values.nodeLabels | quote }}
|
|
{{- with .Values.providerID }}
|
|
provider-id: {{ . }}
|
|
{{- end }}
|
|
{{- if ne .Values.listenAddress "0.0.0.0" }}
|
|
node-ip: {{ .Values.listenAddress }}
|
|
{{- end }}
|