File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ annotations:
5656 operators.operatorframework.io.bundle.metadata.v1: metadata/
5757 operators.operatorframework.io.bundle.package.v1: stackable-${OPERATOR}
5858
59- com.redhat.openshift.versions: v4.11-v4.17
59+ com.redhat.openshift.versions: v4.11-v4.19
6060ANNOS
6161
6262 popd
@@ -69,14 +69,16 @@ generate_manifests() {
6969
7070 pushd " $MANIFESTS_DIR "
7171
72- # split crd
73- cat " $OP_ROOT /deploy/helm/$OPERATOR /crds/crds.yaml" | yq -s ' .spec.names.kind'
72+ # If available, split the CRD into individual manifests
73+ # The secret op installs the CRDs by its self upon startup if not already there.
74+ if [ -f " $OP_ROOT /deploy/helm/$OPERATOR /crds/crds.yaml" ]; then
75+ cat " $OP_ROOT /deploy/helm/$OPERATOR /crds/crds.yaml" | yq -s ' .spec.names.kind'
76+ fi
7477
7578 # expand config map, roles, service account, etc.
7679 helm template " $OPERATOR " " $OP_ROOT /deploy/helm/$OPERATOR " | yq -s ' .metadata.name'
77-
7880 popd
79- }
81+ }
8082
8183parse_inputs () {
8284 while [[ " $# " -gt 0 ]]; do
You can’t perform that action at this time.
0 commit comments