Przeglądaj źródła

Check etcd certs exist for flannel when its support is enabled

Sylvain Baubeau 9 lat temu
rodzic
commit
4db5a237af
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      playbooks/common/openshift-node/config.yml

+ 1 - 1
playbooks/common/openshift-node/config.yml

@@ -52,7 +52,7 @@
       etcd_cert_subdir: openshift-node-{{ openshift.common.hostname }}
       etcd_cert_config_dir: "{{ openshift.common.config_base }}/node"
       etcd_cert_prefix: node.etcd-
-    when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config
+    when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config and (openshift.common.use_flannel | bool)
 
 - name: Create temp directory for syncing certs
   hosts: localhost