Skip to content

Commit c6ef589

Browse files
authored
remove helm CRDs from repo (#2980)
1 parent f0d488a commit c6ef589

22 files changed

+7
-6982
lines changed

.github/workflows/sync-helm-charts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
env:
4949
VERSION: "1.0.0"
5050
run: |
51-
devbox run -- "make generate bundle"
51+
devbox run -- "make generate helm-crds"
5252
5353
- name: Verify if CRDs were changed
5454
id: crd-check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ config/manifests/kustomization.yaml
6161
config/manager/kustomization.yaml
6262
config/generated/crd/bases/*.yaml
6363
config/generated/rbac/role.yaml
64+
helm-charts/atlas-operator-crds/templates/*.yaml
6465

6566
# ignore helm test artifacts
6667
helm-charts/atlas-operator/charts/

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,11 @@ envtest-assets:
271271
mkdir -p $(ENVTEST_ASSETS_DIR)
272272

273273
.PHONY: e2e
274-
e2e: bundle manifests run-kind install-crds $(BUILD_DEPENDENCY) ## Run e2e test. Command `make e2e label=cluster-ns` run cluster-ns test
274+
e2e: bundle helm-crds manifests run-kind install-crds $(BUILD_DEPENDENCY) ## Run e2e test. Command `make e2e label=cluster-ns` run cluster-ns test
275275
AKO_E2E_TEST=1 $(GINKGO) $(shell pwd)/test/$@
276276

277277
.PHONY: e2e2
278-
e2e2: bundle run-kind manager install-credentials install-crds set-namespace ## Run e2e2 tests. Command `make e2e2 label=integrations-ctlr` run integrations-ctlr e2e2 test
278+
e2e2: bundle helm-crds run-kind manager install-credentials install-crds set-namespace ## Run e2e2 tests. Command `make e2e2 label=integrations-ctlr` run integrations-ctlr e2e2 test
279279
NO_GORUN=1 \
280280
AKO_E2E2_TEST=1 \
281281
OPERATOR_NAMESPACE=$(OPERATOR_NAMESPACE) \
@@ -375,8 +375,8 @@ endif
375375
validate-manifests: generate manifests
376376
$(MAKE) check-missing-files
377377

378-
.PHONE: sync-crds-chart
379-
sync-crds-chart: bundle
378+
.PHONY: helm-crds
379+
helm-crds: bundle
380380
@cp -r bundle/manifests/atlas.mongodb.com_* helm-charts/atlas-operator-crds/templates/
381381

382382
.PHONY: validate-crds-chart
@@ -496,6 +496,7 @@ clean: ## Clean built binaries
496496
rm -rf config/manifests/bases/
497497
rm -f config/generated/crd/bases/crds.yaml
498498
rm -f config/crd/bases/*.yaml
499+
rm -f helm-charts/atlas-operator-crds/templates/*.yaml
499500
rm -f config/rbac/clusterwide/role.yaml
500501
rm -f config/rbac/namespaced/role.yaml
501502
rm -f config/rbac/role.yaml

helm-charts/atlas-operator-crds/templates/atlas.mongodb.com_atlasbackupcompliancepolicies.yaml

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

0 commit comments

Comments
 (0)