Skip to content

Commit

Permalink
feat(seamless) chore: add skipranges and replaces logic TODOs to …
Browse files Browse the repository at this point in the history
…CSV (janus-idp#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>
  • Loading branch information
nickboldt authored and gazarenkov committed Mar 17, 2024
1 parent 72d133c commit 99c7dea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .rhdh/bundle/manifests/rhdh-operator.csv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ metadata:
features.operators.openshift.io/token-auth-gcp: "false"
repository: https://gitlab.cee.redhat.com/rhidp/rhdh/
support: Red Hat
skipRange: '>=1.0.0 <1.2.0'
name: rhdh-operator.v1.2.0
namespace: placeholder
spec:
Expand Down Expand Up @@ -341,3 +342,5 @@ spec:
name: Red Hat Inc.
url: https://www.redhat.com/
version: 1.2.0
# TODO: once we have a published 1.1.0 version in RHEC, we can use the replaces logic to support seamless upgrades
# replaces: rhdh-operator.v1.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata:
operatorframework.io/suggested-namespace: backstage-system
operators.operatorframework.io/builder: operator-sdk-v1.33.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
skipRange: '>=0.0.1 <0.2.0'
name: backstage-operator.v0.2.0
namespace: placeholder
spec:
Expand Down Expand Up @@ -327,3 +328,5 @@ spec:
- image: quay.io/janus-idp/backstage-showcase:latest
name: backstage
version: 0.2.0
# TODO: once we have a published 0.1.0 version in Quay, we can use the replaces logic to support seamless upgrades
# replaces: backstage-operator.v0.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ metadata:
alm-examples: '[]'
capabilities: Seamless Upgrades
operatorframework.io/suggested-namespace: backstage-system
name: backstage-operator.v0.0.0
skipRange: '>=0.0.1 <0.2.0'
name: backstage-operator.v0.2.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -52,4 +53,6 @@ spec:
provider:
name: Red Hat Inc.
url: https://www.redhat.com/
version: 0.0.0
version: 0.2.0
# TODO: once we have a published 0.1.0 version in Quay, we can use the replaces logic to support seamless upgrades
# replaces: backstage-operator.v0.1.0

0 comments on commit 99c7dea

Please sign in to comment.