Skip to content

Commit 1745c86

Browse files
committed
review comments
1 parent 9fe9da9 commit 1745c86

9 files changed

+3
-1077
lines changed

Taskfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ tasks:
3131
- dev:internal:kustomize
3232
- generate
3333
cmds:
34-
- '{{.ROOT_DIR}}/bin/kustomize build config/crd | kubectl apply -f -'
34+
# we need to use --load-restrictor=LoadRestrictionsNone because config/crd/bases is a symlink to cmd/embedded/crds, and that's considered an external dir, kustomize doesn't like that.
35+
- '{{.ROOT_DIR}}/bin/kustomize build --load-restrictor=LoadRestrictionsNone config/crd | kubectl apply -f -'
3536

3637
dev:crd:uninstall:
3738
desc: "Uninstall CRDs from the K8s cluster specified in ~/.kube/config"
@@ -58,7 +59,6 @@ tasks:
5859
cmds:
5960
- '{{.ROOT_DIR}}/bin/kustomize build config/default | kubectl delete --ignore-not-found={{.IGNORE_NOT_FOUND}} -f -'
6061

61-
6262
dev:kind-cluster:create:
6363
desc: "Create a kind cluster for development (no CRDs or resources applied)"
6464
cmds:

config/crd/bases

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../cmd/embedded/crds

config/crd/bases/metrics.openmcp.cloud_datasinks.yaml

Lines changed: 0 additions & 163 deletions
This file was deleted.

config/crd/bases/metrics.openmcp.cloud_federatedclusteraccesses.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)