Skip to content

Commit 983f4e3

Browse files
committed
fix: Update DWOC Webhook config documentation
Mention requirements for DWOC webhook configuration changes to take effect. Fix #1289 Signed-off-by: Andrew Obuchowicz <[email protected]>
1 parent 40d7607 commit 983f4e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ type OperatorConfiguration struct {
3434
// managed
3535
Workspace *WorkspaceConfig `json:"workspace,omitempty"`
3636
// Webhook defines configuration options for the DevWorkspace Webhook Server.
37+
// Note: In order for changes made to the webhook configuration to take effect:
38+
//
39+
// - The changes must be made in the global DevWorkspaceOperatorConfig, which has the
40+
// name 'devworkspace-operator-config' and exists in the same namespace where the
41+
// DevWorkspaceOperator is deployed.
42+
//
43+
// - The devworkspace-controller-manager pod must be terminated and recreated for the
44+
// DevWorkspace Webhook Server deployment to be updated.
3745
Webhook *WebhookConfig `json:"webhook,omitempty"`
3846
// EnableExperimentalFeatures turns on in-development features of the controller.
3947
// This option should generally not be enabled, as any capabilites are subject

0 commit comments

Comments
 (0)