Skip to content

Commit 67a65ed

Browse files
committed
chore: Move crds.yaml file
1 parent c457721 commit 67a65ed

3 files changed

Lines changed: 1129 additions & 1129 deletions

File tree

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ config:
4444
cp -r deploy/config-spec/* "deploy/helm/${OPERATOR_NAME}/configs";\
4545
fi
4646

47+
# We generate a crds.yaml, so that the effect of code changes are visible.
48+
# The operator will take care of the CRD rollout itself.
4749
crds:
48-
mkdir -p deploy/helm/"${OPERATOR_NAME}"/crds
49-
cargo run --bin stackable-"${OPERATOR_NAME}" -- crd | yq eval '.metadata.annotations["helm.sh/resource-policy"]="keep"' - > "deploy/helm/${OPERATOR_NAME}/crds/crds.yaml"
50+
mkdir -p extra
51+
cargo run --bin stackable-"${OPERATOR_NAME}" -- crd > extra/crds.yaml
5052

5153
chart-lint: compile-chart
5254
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

0 commit comments

Comments
 (0)