Skip to content

Commit

Permalink
Deploy webhook config for subadmin workarounds (#393)
Browse files Browse the repository at this point in the history
Without the webhook, the subscription operator would not detect subscription
admins.

Signed-off-by: Dale Haiducek <[email protected]>
  • Loading branch information
dhaiducek authored Nov 9, 2023
1 parent d7db0ea commit 8df21d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/install/hubaddon/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func (o *Options) runWithClient() error {
"addon/appmgr/service_account.yaml",
"addon/appmgr/service_metrics.yaml",
"addon/appmgr/service_operator.yaml",
"addon/appmgr/mutatingwebhookconfiguration.yaml",
}

err := r.Apply(scenario.Files, o.values, files...)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright Contributors to the Open Cluster Management project
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: ocm-mutating-webhook

0 comments on commit 8df21d8

Please sign in to comment.