diff --git a/Makefile b/Makefile index 856f987..30e42c5 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ config: crds: mkdir -p deploy/helm/spark-operator/crds - cat deploy/crd/*.yaml | yq eval '.metadata.annotations["helm.sh/resource-policy"]="keep"' - > deploy/helm/spark-operator/crds/crds.yaml + cargo run crd | yq eval '.metadata.annotations["helm.sh/resource-policy"]="keep"' - > deploy/helm/spark-operator/crds/crds.yaml chart-lint: compile-chart docker run -it -v $(shell pwd):/build/helm-charts -w /build/helm-charts quay.io/helmpack/chart-testing:v3.5.0 ct lint --config deploy/helm/ct.yaml @@ -59,11 +59,4 @@ clean-manifests: generate-manifests: clean-manifests compile-chart ./scripts/generate-manifests.sh -clean-crds: - rm -rf deploy/crd/* - -generate-crds: - touch rust/operator-binary/build.rs - cargo build - -regenerate-charts: clean-crds chart-clean clean-manifests generate-crds compile-chart generate-manifests +regenerate-charts: chart-clean clean-manifests compile-chart generate-manifests diff --git a/deploy/helm/spark-operator/README.md b/deploy/helm/spark-operator/README.md index b5de411..af12f94 100644 --- a/deploy/helm/spark-operator/README.md +++ b/deploy/helm/spark-operator/README.md @@ -20,8 +20,9 @@ helm install spark-operator deploy/helm/spark-operator The usage of this operator and its CRDs is described in the [documentation](https://docs.stackable.tech/spark/index.html) -The operator has example requests included in the [`/examples`](https://github.com/stackabletech/spark/operator/tree/main/examples) directory. +The operator has example requests included in the [`/examples`](https://github.com/stackabletech/spark-operator/tree/main/examples) directory. ## Links https://github.com/stackabletech/spark-operator +