Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Commit 200cf12

Browse files
authored
feat(seamless) chore: add skipranges and replaces logic TODOs to CSV (#231)
* feat(seamless) chore: add skipranges and replaces logic TODOs, which we can enable when 0.1 and 1.1 are live alternatively, we could enable this sooner but then to install 1.2 you have to FIRST install 1.1, etc. Signed-off-by: Nick Boldt <nboldt@redhat.com> * apply same change to config/manifests/bases/backstage-operator.clusterserviceversion.yaml Signed-off-by: Nick Boldt <nboldt@redhat.com> --------- Signed-off-by: Nick Boldt <nboldt@redhat.com>
1 parent 23c2518 commit 200cf12

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.rhdh/bundle/manifests/rhdh-operator.csv.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ metadata:
4343
features.operators.openshift.io/token-auth-gcp: "false"
4444
repository: https://gitlab.cee.redhat.com/rhidp/rhdh/
4545
support: Red Hat
46+
skipRange: '>=1.0.0 <1.2.0'
4647
name: rhdh-operator.v1.2.0
4748
namespace: placeholder
4849
spec:
@@ -341,3 +342,5 @@ spec:
341342
name: Red Hat Inc.
342343
url: https://www.redhat.com/
343344
version: 1.2.0
345+
# TODO: once we have a published 1.1.0 version in RHEC, we can use the replaces logic to support seamless upgrades
346+
# replaces: rhdh-operator.v1.1.0

bundle/manifests/backstage-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ metadata:
2525
operatorframework.io/suggested-namespace: backstage-system
2626
operators.operatorframework.io/builder: operator-sdk-v1.33.0
2727
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
28+
skipRange: '>=0.0.1 <0.2.0'
2829
name: backstage-operator.v0.2.0
2930
namespace: placeholder
3031
spec:
@@ -327,3 +328,5 @@ spec:
327328
- image: quay.io/janus-idp/backstage-showcase:latest
328329
name: backstage
329330
version: 0.2.0
331+
# TODO: once we have a published 0.1.0 version in Quay, we can use the replaces logic to support seamless upgrades
332+
# replaces: backstage-operator.v0.1.0

config/manifests/bases/backstage-operator.clusterserviceversion.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ metadata:
55
alm-examples: '[]'
66
capabilities: Seamless Upgrades
77
operatorframework.io/suggested-namespace: backstage-system
8-
name: backstage-operator.v0.0.0
8+
skipRange: '>=0.0.1 <0.2.0'
9+
name: backstage-operator.v0.2.0
910
namespace: placeholder
1011
spec:
1112
apiservicedefinitions: {}
@@ -52,4 +53,6 @@ spec:
5253
provider:
5354
name: Red Hat Inc.
5455
url: https://www.redhat.com/
55-
version: 0.0.0
56+
version: 0.2.0
57+
# TODO: once we have a published 0.1.0 version in Quay, we can use the replaces logic to support seamless upgrades
58+
# replaces: backstage-operator.v0.1.0

0 commit comments

Comments
 (0)