X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fcluster%2Ftemplates%2Fkubeadmcontrolplane.yaml;h=8d5e5e854a2864a16429c5bc044675d2bf0cebd3;hb=refs%2Fchanges%2F14%2F4614%2F2;hp=c960733a157f65975f7a807ed2d7912f6aa60094;hpb=0b56dfc41bd40f0e59a4a8f65a1fdf184e74747d;p=icn.git diff --git a/deploy/cluster/templates/kubeadmcontrolplane.yaml b/deploy/cluster/templates/kubeadmcontrolplane.yaml index c960733..8d5e5e8 100644 --- a/deploy/cluster/templates/kubeadmcontrolplane.yaml +++ b/deploy/cluster/templates/kubeadmcontrolplane.yaml @@ -27,6 +27,9 @@ spec: kube-reserved: cpu=200m,memory=512Mi name: '{{ "{{" }} ds.meta_data.name {{ "}}" }}' preKubeadmCommands: +{{- if .Values.preKubeadmCommands }} +{{ toYaml .Values.preKubeadmCommands | indent 4 }} +{{- end }} {{- if .Values.networks }} # Without touching up /etc/hosts, kubeadm may pick the wrong # (i.e. provisioning network) address for the node IP