Skip to content
Snippets Groups Projects
Unverified Commit c87a373c authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub
Browse files

Merge pull request #3204 from riverzhang/fix-copy-ssl-ca

Fix copy etcd-ssl-ca failed
parents aafd034a 2609ec0d
No related branches found
No related tags found
No related merge requests found
......@@ -97,14 +97,6 @@
kubeadm_config_api_fqdn: "{{ apiserver_loadbalancer_domain_name|default('lb-apiserver.kubernetes.local') }}"
when: loadbalancer_apiserver is defined
- name: kubeadm | Copy etcd ca file as k8s ca
command: "cp -T {{ etcd_cert_dir }}/ca.pem {{ kube_config_dir }}/ssl/etcd/ca.crt"
changed_when: false
- name: kubeadm | Copy etcd cakey as k8s cakey
command: "cp -T {{ etcd_cert_dir }}/ca-key.pem {{ kube_config_dir }}/ssl/etcd/ca.key"
changed_when: false
- name: kubeadm | Create kubeadm config
template:
src: "kubeadm-config.{{ kubeadmConfig_api_version }}.yaml.j2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment