change /etc/ssl/etcd to etcd_config_dir param (#6408)

* change /etc/ssl/etcd to etcd_config_dir param

* add use etcd_events_data_dir param
pull/6446/head
chenguoquan1024 2020-07-22 14:58:05 +08:00 committed by GitHub
parent 4990eec4a2
commit 9c48f666ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@ etcd_events_cluster_enabled: false
etcd_backup_prefix: "/var/backups"
etcd_data_dir: "/var/lib/etcd"
etcd_events_data_dir: "/var/lib/etcd-events"
etcd_config_dir: /etc/ssl/etcd
etcd_cert_dir: "{{ etcd_config_dir }}/ssl"

View File

@ -505,6 +505,7 @@ pip_extra_args: |-
{{ pip_extra_args_list|join(' ') }}
etcd_config_dir: /etc/ssl/etcd
etcd_events_data_dir: "/var/lib/etcd-events"
etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
typha_enabled: false

View File

@ -198,8 +198,8 @@
- "{{ ansible_env.HOME | default('/root') }}/.kube"
- "{{ ansible_env.HOME | default('/root') }}/.helm"
- "{{ etcd_data_dir }}"
- /var/lib/etcd-events
- /etc/ssl/etcd
- "{{ etcd_events_data_dir }}"
- "{{ etcd_config_dir }}"
- /var/log/calico
- /etc/cni
- "{{ nginx_config_dir }}"