2021-03-25 14:59:44 +01:00
|
|
|
---
|
|
|
|
apiVersion: kubeadm.k8s.io/v1beta2
|
|
|
|
kind: InitConfiguration
|
|
|
|
{{ kubernetes_config_init_configuration | to_nice_yaml }}
|
|
|
|
---
|
|
|
|
kind: ClusterConfiguration
|
|
|
|
apiVersion: kubeadm.k8s.io/v1beta2
|
|
|
|
{{ kubernetes_config_cluster_configuration | to_nice_yaml }}
|
|
|
|
{% if kubernetes_config_kubelet_configuration|length > 0 %}
|
2021-08-12 16:24:42 +02:00
|
|
|
---
|
2021-03-25 14:59:44 +01:00
|
|
|
apiVersion: kubelet.config.k8s.io/v1beta1
|
|
|
|
kind: KubeletConfiguration
|
|
|
|
{{ kubernetes_config_kubelet_configuration | to_nice_yaml }}
|
|
|
|
{% endif %}
|
2021-08-12 16:24:42 +02:00
|
|
|
{% if kubernetes_config_kube_proxy_configuration|length > 0 %}
|
|
|
|
---
|
|
|
|
apiVersion: kubeproxy.config.k8s.io/v1alpha1
|
|
|
|
kind: KubeProxyConfiguration
|
|
|
|
{{ kubernetes_config_kube_proxy_configuration | to_nice_yaml }}
|
|
|
|
{% endif %}
|