Refactor DevWorkspaceOperatorConfig in dwoc.yaml to simplify configuration structure. This change removes the unnecessary spec.config nesting, aligning with the v1alpha1 API requirements and improving clarity for users configuring development workspaces.
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
# **routing.clusterHostSuffix** — hostname suffix for DevWorkspace routes. Without this, Che / workspaces
|
# **routing.clusterHostSuffix** — hostname suffix for DevWorkspace routes. Without this, Che / workspaces
|
||||||
# often fail with errors like **no available server** or broken routing.
|
# often fail with errors like **no available server** or broken routing.
|
||||||
# Must be named **devworkspace-operator-config** in **devworkspace-controller**.
|
# Must be named **devworkspace-operator-config** in **devworkspace-controller**.
|
||||||
|
# v1alpha1 uses a root-level **config** key (not spec.config); see combined.yaml CRD for devworkspaceoperatorconfigs.
|
||||||
# Edit if your ingress base domain differs from the noble lab pattern.
|
# Edit if your ingress base domain differs from the noble lab pattern.
|
||||||
apiVersion: controller.devfile.io/v1alpha1
|
apiVersion: controller.devfile.io/v1alpha1
|
||||||
kind: DevWorkspaceOperatorConfig
|
kind: DevWorkspaceOperatorConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: devworkspace-operator-config
|
name: devworkspace-operator-config
|
||||||
namespace: devworkspace-controller
|
namespace: devworkspace-controller
|
||||||
spec:
|
config:
|
||||||
config:
|
routing:
|
||||||
routing:
|
clusterHostSuffix: apps.noble.lab.pcenicni.dev
|
||||||
clusterHostSuffix: apps.noble.lab.pcenicni.dev
|
|
||||||
|
|||||||
Reference in New Issue
Block a user