Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ spec:
{{- end }}
defaultChildWorkspaceType:
name: account
path: root
path: root:orgs
limitAllowedChildren:
types:
- name: account
path: root
path: root:orgs
limitAllowedParents:
types:
- name: org
path: root
path: root:orgs
- name: account
path: root
path: root:orgs
extend:
with:
- name: universal
path: root
- name: security
path: root
path: root:orgs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
extend:
with:
- name: security
path: root
path: root:orgs
defaultAPIBindings:
- export: core.platform-mesh.io
path: root:platform-mesh-system
Expand All @@ -20,11 +20,11 @@ spec:
{{- end }}
defaultChildWorkspaceType:
name: account
path: root
path: root:orgs
limitAllowedChildren:
types:
- name: account
path: root
path: root:orgs
limitAllowedParents:
types:
- name: orgs
Expand Down
4 changes: 2 additions & 2 deletions manifests/kcp/workspace-type-orgs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ spec:
path: root:platform-mesh-system
defaultChildWorkspaceType:
name: org
path: root
path: root:orgs
extend:
with:
- name: universal
path: root
limitAllowedChildren:
types:
- name: org
path: root
path: root:orgs
authenticationConfigurations:
- name: orgs-authentication
7 changes: 4 additions & 3 deletions pkg/subroutines/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ var AccountOperatorWorkspace = "root:platform-mesh-system"

var DefaultProviderConnections = []corev1alpha1.ProviderConnection{
{
Path: "root:platform-mesh-system",
Secret: "account-operator-kubeconfig",
AdminAuth: ptr.To(true),
Path: "root:platform-mesh-system",
Secret: "account-operator-kubeconfig",
AdminAuth: ptr.To(false),
APIExportName: ptr.To("core.platform-mesh.io"),
},
{
Path: "root:platform-mesh-system",
Expand Down
Loading