Kaynağa Gözat

Make pod_eviction_timeout configurable from cli

jawed 9 yıl önce
ebeveyn
işleme
53516f7ecb
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      playbooks/common/openshift-master/config.yml

+ 4 - 0
playbooks/common/openshift-master/config.yml

@@ -18,6 +18,10 @@
     - .config_managed
 
   - set_fact:
+      openshift_master_pod_eviction_timeout: "{{ lookup('oo_option', 'openshift_master_pod_eviction_timeout') | default(none, true) }}"
+    when: openshift_master_pod_eviction_timeout is not defined
+
+  - set_fact:
       openshift_master_etcd_port: "{{ (etcd_client_port | default('2379')) if (groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config) else none }}"
       openshift_master_etcd_hosts: "{{ hostvars
                                        | oo_select_keys(groups['oo_etcd_to_config']