1616#
1717# The generated manifests need to be updated manually with the following steps:
1818# * Copy the cluster service version file from the previous package version.
19- # * Replace the contents of the deployment, and cluster role with the `spec` and `rules` from the newly generated files.
19+ # * Replace the contents of the deployment, and cluster role with the `template. spec` and `rules` from the newly generated files.
2020# * Remove the unused generated files : service account, operator cluster role (not the product cluster role), role binding, deployment.
21- # * Remove all Helm labels in all remaining files.
21+ # * Remove all Helm labels in all remaining files (including all labels from the cluster role) .
2222# * Check or update the metadata/dependencies.yaml
2323# * Update image tags and hashes
2424
@@ -45,30 +45,30 @@ generate_metadata() {
4545 pushd " $METADATA_DIR "
4646
4747 cat > annotations.yaml << -ANNOS
48- ---
49- annotations:
50- operators.operatorframework.io.bundle.channel.default.v1: stable
51- operators.operatorframework.io.bundle.channels.v1: stable
52- operators.operatorframework.io.bundle.manifests.v1: manifests/
53- operators.operatorframework.io.bundle.mediatype.v1: registry+v1
54- operators.operatorframework.io.bundle.metadata.v1: metadata/
55- operators.operatorframework.io.bundle.package.v1: stackable-${OPERATOR}
56-
57- com.redhat.openshift.versions: v4.10 -v4.13
58- ANNOS
48+ ---
49+ annotations:
50+ operators.operatorframework.io.bundle.channel.default.v1: stable
51+ operators.operatorframework.io.bundle.channels.v1: stable
52+ operators.operatorframework.io.bundle.manifests.v1: manifests/
53+ operators.operatorframework.io.bundle.mediatype.v1: registry+v1
54+ operators.operatorframework.io.bundle.metadata.v1: metadata/
55+ operators.operatorframework.io.bundle.package.v1: stackable-${OPERATOR}
56+
57+ com.redhat.openshift.versions: v4.11 -v4.15
58+ ANNOS
5959
6060 cat > dependencies.yaml << -DEPS
61- ---
62- dependencies:
63- - type: olm.package
64- value:
65- packageName: stackable-commons-operator
66- version: "$RELEASE_VERSION "
67- - type: olm.package
68- value:
69- packageName: stackable-secret-operator
70- version: "$RELEASE_VERSION "
71- DEPS
61+ ---
62+ dependencies:
63+ - type: olm.package
64+ value:
65+ packageName: stackable-commons-operator
66+ version: "$RELEASE_VERSION "
67+ - type: olm.package
68+ value:
69+ packageName: stackable-secret-operator
70+ version: "$RELEASE_VERSION "
71+ DEPS
7272
7373 popd
7474}
@@ -138,7 +138,7 @@ maybe_print_help() {
138138 Example:
139139
140140 $SCRIPT_NAME -r 23.11.0 -c $HOME /repo/stackable/openshift-certified-operators -o $HOME /repo/stackable/zookeeper-operator
141- HELP
141+ HELP
142142
143143 exit 1
144144 fi
0 commit comments