Skip to content

Commit 69d272e

Browse files
create cluster resource for platform
1 parent 44bc5ce commit 69d272e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

hack/local-dev.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,23 @@ spec:
206206
mountPath: /var/run/docker.sock
207207
EOF
208208

209+
# Create Cluster resource for platform
210+
kubectl apply -f - << EOF
211+
apiVersion: clusters.openmcp.cloud/v1alpha1
212+
kind: Cluster
213+
metadata:
214+
annotations:
215+
kind.clusters.openmcp.cloud/name: ${OPENMCP_PLATFORM_NAME}
216+
name: platform
217+
namespace: openmcp-system
218+
spec:
219+
kubernetes: {}
220+
profile: kind
221+
purposes:
222+
- platform
223+
tenancy: Shared
224+
EOF
225+
209226
# Install Service Provider Crossplane
210227
kubectl apply -f - << EOF
211228
apiVersion: openmcp.cloud/v1alpha1

0 commit comments

Comments
 (0)