Upgrading your Operator
To create a new update for your operator, you'll need to create a new version directory, and place your crds and csv inside. You can make any updates to these files as normal.
You must always bump the version number whenever re-certifying your Operator bundle.
1
$ mkdir bundle/3.0.0
2
$ cp <latest csv> bundle/3.0.0
3
$ cp <crd> bundle/3.0.0
Copied!
Here's an example what the structure should look like when you're done:
Don't forget to update your package yaml, too! It's not in one of the version sub-directories because the package determines which operator version is used.
Move into the bundle directory. You can now use opm to create the annotations.yaml.
1
$ cd bundle
2
$ opm alpha bundle generate -d ./3.0.0/ -u ./3.0.0/
Copied!
Last modified 1mo ago
Copy link