X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fcluster%2Ftemplates%2Fkubeadmconfigtemplate.yaml;h=33afc28b071403458e7169a8688b2686d2e65816;hb=0aa4eec99b540a2f6fbc1f0ef57383612aec6252;hp=0172dc730104a1ecf45ef94bde977e02f60c9746;hpb=d112f10fe9673b5fa1c44d64c6ae1fa2e7ce4459;p=icn.git diff --git a/deploy/cluster/templates/kubeadmconfigtemplate.yaml b/deploy/cluster/templates/kubeadmconfigtemplate.yaml index 0172dc7..33afc28 100644 --- a/deploy/cluster/templates/kubeadmconfigtemplate.yaml +++ b/deploy/cluster/templates/kubeadmconfigtemplate.yaml @@ -47,6 +47,7 @@ spec: permissions: '0777' content: | {{ $.Files.Get "resources/set_kernel_cmdline.sh" | indent 10 }} +{{- if .Values.userData }} users: - name: {{ .Values.userData.name }} shell: /bin/bash @@ -59,3 +60,4 @@ spec: - name: root sshAuthorizedKeys: - {{ .Values.userData.sshAuthorizedKey }} +{{- end }}