Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
1e470b04
Commit
1e470b04
authored
5 years ago
by
Andreas Krüger
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix certificate-key param for kubeadm init (#4789)
* Fix certificate-key param for kubeadm init * Fix yamllint error
parent
0ef3a791
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/master/tasks/kubeadm-setup.yml
+2
-2
2 additions, 2 deletions
roles/kubernetes/master/tasks/kubeadm-setup.yml
with
2 additions
and
2 deletions
roles/kubernetes/master/tasks/kubeadm-setup.yml
+
2
−
2
View file @
1e470b04
...
@@ -106,13 +106,13 @@
...
@@ -106,13 +106,13 @@
{{ bin_dir }}/kubeadm init
{{ bin_dir }}/kubeadm init
--config={{ kube_config_dir }}/kubeadm-config.yaml
--config={{ kube_config_dir }}/kubeadm-config.yaml
--ignore-preflight-errors=all
--ignore-preflight-errors=all
--skip-phases=addon/coredns
{% if kubeadm_version is version('v1.14.0', '>=') %}
{% if kubeadm_version is version('v1.14.0', '>=') %}
--experimental-upload-certs
--experimental-upload-certs
{% endif %}
--skip-phases=addon/coredns
{% if kubeadm_certificate_key is defined %}
{% if kubeadm_certificate_key is defined %}
--certificate-key={{ kubeadm_certificate_key }}
--certificate-key={{ kubeadm_certificate_key }}
{% endif %}
{% endif %}
{% endif %}
register
:
kubeadm_init
register
:
kubeadm_init
# Retry is because upload config sometimes fails
# Retry is because upload config sometimes fails
retries
:
3
retries
:
3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment