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

[Spike] Investigate how the operator could support the upgrade and downgrade of its operands #34

Closed
Tracked by #33
rm3l opened this issue Nov 22, 2023 · 2 comments

Comments

@rm3l
Copy link
Member

rm3l commented Nov 22, 2023

Add issues to #33 depending on the investigation findings.

@nickboldt
Copy link
Member

nickboldt commented Dec 21, 2023

possible workflow:

  • delete current subscription for an installed RHDH 1.2 (operator and operands should persist; pods will stay running)
  • install a new subscription and set to manual upgrade, with a startingCSV version set to an older version (eg., 1.1)
  • subscription should then roll our replacement pods from 1.1 instead of 1.2

something like this is needed:

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: rhdh
  namespace: NAMESPACE_VALUE
spec:
  channel: fast
  installPlanApproval: Manual
  name: rhdh
  source: SOURCE_VALUE
  sourceNamespace: openshift-marketplace # or other catalog source
  startingCSV: STARTING_CSV_VALUE

@rm3l
Copy link
Member Author

rm3l commented Aug 19, 2024

Will be tracked under the rollback epic: https://issues.redhat.com/browse/RHIDP-3151

@rm3l rm3l closed this as completed Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants