Browse Source

Skip router/registry cert redeploy when openshift_hosted_manage_{router,registry}=false

Andrew Butcher 7 năm trước cách đây
mục cha
commit
80bbdb0d32
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      playbooks/byo/openshift-cluster/redeploy-certificates.yml

+ 2 - 0
playbooks/byo/openshift-cluster/redeploy-certificates.yml

@@ -20,5 +20,7 @@
 - include: ../../common/openshift-node/restart.yml
 
 - include: ../../common/openshift-cluster/redeploy-certificates/router.yml
+  when: openshift_hosted_manage_router | default(true) | bool
 
 - include: ../../common/openshift-cluster/redeploy-certificates/registry.yml
+  when: openshift_hosted_manage_registry | default(true) | bool