Skip to content

Commit f666d0c

Browse files
authored
Update olm_manifests.md
1 parent 75ad13b commit f666d0c

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/ISSUE_TEMPLATE/olm_manifests.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,47 @@ This issue assumes you are generating OLM manifests for a released SDP version w
3535

3636
## Secret operator
3737

38+
### Generate manifests
39+
40+
- [ ] Update the supported OpenShift version range in the function [generate_metadata()](https://github.com/stackabletech/stackable-utils/blob/273ec983d6c0b1ea1852d9633ed56b8123054b39/olm/build-manifests.sh#L39)
3841
- [ ] Create release branch (from `main`) in the openshift operator repository
3942

4043
cd $HOME/repo/stackable/openshift-certified-operators
4144
git switch -c stackable-secret-24.3.0
4245
4346
- [ ] Generate manifests
4447

45-
./olm/build-manifests.sh -r 24.3.0 -c $HOME/repo/stackable/openshift-certified-operators -o $HOME/repo/stackable/secret-operator
48+
./olm/build-manifests.sh -r 24.3.0 \
49+
-c $HOME/repo/stackable/openshift-certified-operators \
50+
-o $HOME/repo/stackable/secret-operator
4651

4752
Options:
4853
* `-r 24.3.0` is the SDP release
4954
* `-c $HOME/repo/stackable/openshift-certified-operators` the location of the openshift operator repository
5055
* `-o $HOME/repo/stackable/secret-operator` the location of the secret op
5156

57+
- [ ] Copy the cluster service version file from the previous package version.
58+
- [ ] Replace the contents of the deployment, and cluster role with the `template.spec` and `rules` from the newly generated files.
59+
- [ ] Remove the unused generated files : service account, operator cluster role (not the product cluster role), role binding, deployment.
60+
- [ ] Remove all Helm labels in all remaining files (including all labels from the cluster role).
61+
- [ ] Check or update the metadata/dependencies.yaml
62+
- [ ] Update image tags and hashes with quay.io versions
63+
- [ ] Commit & push your changes
64+
65+
### Install manifests
66+
67+
- [ ] Ensure your K8S configuration points to a an OpenShift (or OKD) instance
68+
- [ ] Install the operator from the manifests generated in the previous step
69+
70+
/olm/build-bundles.sh -r 24.3.0 -o secret -c ~/repo/stackable/openshift-certified-operators -d
71+
72+
Options:
73+
* `-r 24.3.0` version of the operator to install
74+
* `-o secret` name of the operator to install
75+
* `-c ~/repo/stackable/openshift-certified-operators` location of the openshift operator repository
76+
* `-d` deploy to the cluster
77+
78+
5279
## Listener operator
5380

5481
build-manifests.sh

0 commit comments

Comments
 (0)