Skip to content

Commit 5ffa779

Browse files
authored
chore: enable admin kubeconfig for rebac webhook (#647)
Signed-off-by: OlegErshov <olezhka1629@gmail.com> On-behalf-of: SAP aleh.yarshou@sap.com
1 parent 5eb7a97 commit 5ffa779

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pkg/subroutines/defaults.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ var DefaultProviderConnections = []corev1alpha1.ProviderConnection{
2929
AdminAuth: ptr.To(true),
3030
},
3131
{
32-
Path: "root:platform-mesh-system",
33-
Secret: "rebac-authz-webhook-kubeconfig",
34-
APIExportName: ptr.To("core.platform-mesh.io"),
35-
AdminAuth: ptr.To(false),
32+
Path: "root:platform-mesh-system",
33+
Secret: "rebac-authz-webhook-kubeconfig",
34+
AdminAuth: ptr.To(true),
3635
},
3736
{
3837
Path: "root:platform-mesh-system",

0 commit comments

Comments
 (0)