diff options
Diffstat (limited to 'roles/openshift_metrics/tasks/uninstall_metrics.yaml')
-rw-r--r-- | roles/openshift_metrics/tasks/uninstall_metrics.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/uninstall_metrics.yaml b/roles/openshift_metrics/tasks/uninstall_metrics.yaml index 0ab0eec4b..9fa0ad990 100644 --- a/roles/openshift_metrics/tasks/uninstall_metrics.yaml +++ b/roles/openshift_metrics/tasks/uninstall_metrics.yaml @@ -18,3 +18,14 @@ clusterrolebinding/heapster-cluster-reader clusterrolebinding/hawkular-metrics changed_when: delete_metrics.stdout != 'No resources found' + +# Update the web config in openshift-web-console namespace +- name: Remove metrics route information from the web console config + include_role: + name: openshift_web_console + tasks_from: update_console_config.yml + vars: + console_config_edits: + - key: metricsPublicURL + value: "" + when: openshift_web_console_install | default(true) | bool |