KubeZero/charts/kubeadm/templates/InitConfiguration.yaml

17 lines
410 B
YAML
Raw Normal View History

2021-01-03 15:33:13 +00:00
apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
metadata:
name: kubezero-initconfiguration
localAPIEndpoint:
2021-05-28 15:16:36 +00:00
bindPort: {{ .Values.api.listenPort }}
2021-01-03 15:33:13 +00:00
nodeRegistration:
ignorePreflightErrors:
- Swap
- DirAvailable--var-lib-etcd
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 }}