Skip to content

Commit 7d280c9

Browse files
committed
Update README.md to document configuration via the new CRD.
Signed-off-by: Angel Misevski <[email protected]>
1 parent 66f277a commit 7d280c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,11 @@ make disconnect-debug-webhook-server
154154

155155
### Controller configuration
156156

157-
Controller behavior can be configured with data from the `devworkspace-controller` config map in the same namespace where controller lives.
157+
Controller behavior can be configured using the `DevWorkspaceOperatorConfig` custom resource (`dwoc` for short). To configure the controller, create a `DevWorkspaceOperatorConfig` named `devworkspace-operator-config` in the same namespace as the controller. If using the Makefile to deploy the DevWorkspaceOperator, a pre-filled config is created automatically (see `deploy/default-config.yaml`).
158158

159-
For all available configuration properties and their default values, see [pkg/config](https://github.com/devfile/devworkspace-operator/tree/main/pkg/config)
159+
Configuration settings in the `DevWorkspaceOperatorConfig` override default values found in [pkg/config](https://github.com/devfile/devworkspace-operator/tree/main/pkg/config). The only required configuration setting is `.routing.clusterHostSuffix`, which is required when running on Kubernetes.
160+
161+
To see documentation on configuration settings, including default values, use `kubectl explain` or `oc explain` -- e.g. `kubectl explain dwoc.config.routing.clusterHostSuffix`
160162

161163
### Remove controller from your K8s/OS Cluster
162164
To uninstall the controller and associated CRDs, use the Makefile uninstall rule:

0 commit comments

Comments
 (0)