Skip to content

Commit

Permalink
move chart generation to dev tools (#1581)
Browse files Browse the repository at this point in the history
* move chart generation to dev tools

Signed-off-by: Cameron Wall <[email protected]>

* rbac update

Signed-off-by: Cameron Wall <[email protected]>

---------

Signed-off-by: Cameron Wall <[email protected]>
  • Loading branch information
cameronmwall authored Jun 24, 2024
1 parent 3d99548 commit b376301
Show file tree
Hide file tree
Showing 7 changed files with 476 additions and 631 deletions.
4 changes: 2 additions & 2 deletions Makefile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ regenerate-operator-sha-commits: ## Regenerates the operator bundles

regenerate-charts: ## Regenerates the charts
pip3 install -r hack/bundle-automation/chart-requirements.txt
python3 ./hack/bundle-automation/generate-charts.py --destination pkg/templates/
python3 ./hack/bundle-automation/generate-shell.py --update-charts

copy-charts: ## Regenerates the operator bundles
pip3 install -r hack/bundle-automation/requirements.txt
python3 ./hack/bundle-automation/copy-charts.py --destination pkg/templates/
python3 ./hack/bundle-automation/generate-shell.py --copy-charts

# different from `in-cluster-install` (call no secrets, no observability-crd)
mock-install: prereqs subscriptions docker-build docker-push deploy
Expand Down

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,12 @@ rules:
- patch
- update
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- deletecollection
- apiGroups:
- discovery.open-cluster-management.io
resources:
Expand Down Expand Up @@ -1439,6 +1445,15 @@ rules:
- patch
- update
- watch
- apiGroups:
- multicluster.x-k8s.io
resources:
- serviceimports
verbs:
- delete
- get
- list
- update
- apiGroups:
- networking.k8s.io
resources:
Expand Down Expand Up @@ -1787,6 +1802,13 @@ rules:
- delete
- get
- update
- apiGroups:
- submariner.io
resources:
- clusters
- endpoints
verbs:
- deletecollection
- apiGroups:
- submarineraddon.open-cluster-management.io
resources:
Expand Down
132 changes: 0 additions & 132 deletions hack/bundle-automation/copy-charts.py

This file was deleted.

Loading

0 comments on commit b376301

Please sign in to comment.