Customize settings during deployment
Customize the CheCluster Custom Resource during installation so that Che deploys with your organization’s specific settings instead of Operator defaults.
Prerequisites
-
An active
kubectlsession with administrative permissions to the Kubernetes cluster. See Overview of kubectl. -
chectl. See: Set up the chectl command-line tool.
Procedure
-
Create a
che-operator-cr-patch.yamlYAML file that contains the subset of theCheClusterCustom Resource to configure:spec: <component>: <property_to_configure>: <value> -
Deploy Che and apply the changes described in
che-operator-cr-patch.yamlfile:$ chectl server:deploy \ --che-operator-cr-patch-yaml=che-operator-cr-patch.yaml \ --platform <chosen_platform>
Verification
-
Verify the value of the configured property:
$ oc get configmap che -o jsonpath='{.data.<configured_property>}' \ -n eclipse-che