1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/odc_customizing-a-developer-catalog-or-its-sub-catalogs-using-the-yaml-view.adoc
2023-10-30 10:13:25 -04:00

49 lines
1.3 KiB
Plaintext

// Module included in the following assembly:
//
// * web_console/customizing-the-web-console.adoc
:_mod-docs-content-type: PROCEDURE
[id="odc_customizing-a-developer-catalog-or-its-sub-catalogs-using-the-yaml-view_{context}"]
= Customizing a developer catalog or its sub-catalogs using the YAML view
You can customize a developer catalog by editing the YAML content in the YAML view.
.Prerequisites
* An OpenShift web console session with cluster administrator privileges.
.Procedure
. In the *Administrator* perspective of the web console, navigate to *Administration* -> *Cluster Settings*.
. Select the *Configuration* tab, click the *Console (operator.openshift.io)* resource and view the *Details* page.
. Click the *YAML* tab to open the editor and edit the YAML content as needed.
+
For example, to disable a developer catalog type, insert the following snippet that defines a list of disabled developer catalog resources:
+
[source,yaml]
----
apiVersion: operator.openshift.io/v1
kind: Console
metadata:
name: cluster
...
spec:
customization:
developerCatalog:
categories:
types:
state: Disabled
disabled:
- BuilderImage
- Devfile
- HelmChart
...
----
. Click *Save*.
[NOTE]
====
By default, the developer catalog types are enabled in the Administrator view of the Web Console.
====