Prechádzať zdrojové kódy

Merge pull request #7242 from tripledes/bz1425022

Automatic merge from submit-queue.

cockpit-ui: Make it optional

* Added openshift_hosted_manage_registry_console defaulting to true,
making the component optional

Partially fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1425022

@sdodson
OpenShift Merge Robot 7 rokov pred
rodič
commit
d2dfa4fecf

+ 3 - 1
inventory/hosts.example

@@ -484,7 +484,9 @@ debug_level=2
 #
 # Manage the OpenShift Registry (optional)
 #openshift_hosted_manage_registry=true
-
+# Manage the OpenShift Registry Console (optional)
+#openshift_hosted_manage_registry_console=true
+#
 # Registry Storage Options
 #
 # NFS Host Group

+ 1 - 0
playbooks/openshift-hosted/private/cockpit-ui.yml

@@ -5,4 +5,5 @@
   - role: cockpit-ui
     when:
     - openshift_hosted_manage_registry | default(true) | bool
+    - openshift_hosted_manage_registry_console | default(true) | bool
     - not (openshift_docker_hosted_registry_insecure | default(false)) | bool