Kay Yan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
0 deletions
-
roles/kubernetes/control-plane/meta/main.yml
-
roles/kubernetes/control-plane/tasks/kubeadm-etcd.yml
|
|
@ -4,3 +4,8 @@ dependencies: |
|
|
|
when: kube_token_auth |
|
|
|
tags: |
|
|
|
- k8s-secrets |
|
|
|
- role: adduser |
|
|
|
user: "{{ addusers.etcd }}" |
|
|
|
when: |
|
|
|
- etcd_deployment_type == "kubeadm" |
|
|
|
- not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos) |
|
|
@ -23,3 +23,4 @@ |
|
|
|
owner: "{{ etcd_owner }}" |
|
|
|
group: "{{ etcd_owner }}" |
|
|
|
mode: 0700 |
|
|
|
when: etcd_deployment_type == "kubeadm" |