Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rename cluster-e2etest to cluster-icn
[icn.git]
/
deploy
/
cluster
/
templates
/
kubeadmconfigtemplate.yaml
diff --git
a/deploy/cluster/templates/kubeadmconfigtemplate.yaml
b/deploy/cluster/templates/kubeadmconfigtemplate.yaml
index
0172dc7
..
33afc28
100644
(file)
--- 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 }}
permissions: '0777'
content: |
{{ $.Files.Get "resources/set_kernel_cmdline.sh" | indent 10 }}
+{{- if .Values.userData }}
users:
- name: {{ .Values.userData.name }}
shell: /bin/bash
users:
- name: {{ .Values.userData.name }}
shell: /bin/bash
@@
-59,3
+60,4
@@
spec:
- name: root
sshAuthorizedKeys:
- {{ .Values.userData.sshAuthorizedKey }}
- name: root
sshAuthorizedKeys:
- {{ .Values.userData.sshAuthorizedKey }}
+{{- end }}