Skip to content
This repository was archived by the owner on Jul 20, 2022. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion deploy/helm/spark-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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