<commit_before>// Module included in the following assemblies:
//
// * web_console/disabling-web-console.adoc

[id="web-console-disable_{context}"]
= Disabling the web console

You can disable the web console by editing the
`consoles.operator.openshift.io` resource.

* Edit the `consoles.operator.openshift.io` resource:
+
[source,terminal]
----
$ oc edit consoles.operator.openshift.io cluster
----
+
The following example displays the parameters from this resource that you can
modify:
+
[source,yaml]
----
apiVersion: config.openshift.io/v1
kind: Console
metadata:
  name: cluster
spec:
  managementState: Removed <1>
----
<1> Set the `managementState` parameter value to `Removed` to disable the web
console. The other valid values for this parameter are `Managed`, which enables
the console under the cluster's control, and `Unmanaged`, which means that you
are taking control of web console management.
<commit_msg>Fixes an issue in the disabling web consonle config.yaml<commit_after>// Module included in the following assemblies:
//
// * web_console/disabling-web-console.adoc

[id="web-console-disable_{context}"]
= Disabling the web console

You can disable the web console by editing the
`consoles.operator.openshift.io` resource.

* Edit the `consoles.operator.openshift.io` resource:
+
[source,terminal]
----
$ oc edit consoles.operator.openshift.io cluster
----
+
The following example displays the parameters from this resource that you can
modify:
+
[source,yaml]
----
apiVersion: operator.openshift.io/v1
kind: Console
metadata:
  name: cluster
spec:
  managementState: Removed <1>
----
<1> Set the `managementState` parameter value to `Removed` to disable the web
console. The other valid values for this parameter are `Managed`, which enables
the console under the cluster's control, and `Unmanaged`, which means that you
are taking control of web console management.

{'fraction_non_alphanumeric': 0.10111169931180519, 'fraction_numerical': 0.0031762837480148226, 'mean_word_length': 4.591715976331361, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4916651', 'n_tokens_mistral': 547, 'n_tokens_neox': 525, 'n_words': 210}