-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous Delivery via OLM #742
Comments
Thinking about this some more, we could use the registry itself as the persistent data store. During CD jobs we could
Would any part of this functionality fit in operator-courier? Some kind of operator-courier update-bundle command? |
Thanks for writing this up @dgoodwin! Based on your requirements/environment, there might be several reasonable options:
or, if you have kubectl access to your staging cluster:
or, if you want keep a record of everything you've done:
As your second comment suggests, you can do similar things by looping courier / appregistry into your workflow, but you will need marketplace running for that.
Maybe - it also overlaps a little with operator-sdk's olm tooling. |
We ended up building up registry image that maps each version to the next in the CI job. Closing for now. |
We were working on a system to deliver Hive builds continuously to stage, and ultimately prod environments that would look as follows:
1. Extract RBAC rules from our normal Role yaml files and embed.
1. Extract Deployment spec from our normal Deployment yaml file and embed.
1. Set version to git shorthash.
1. Replace image with new image built above.
1. Update CSV name to hive-operator-shorthash.
1. Update package file to reference above CSV name.
We would then want the stage environment to automatically install new releases as they became available. Prod would possibly be manually triggered, but it's worth noting that not every iteration that goes to stage would go to prod.
We do not know anything about past CSVs or what version we're replacing.
It looks like there are several problems we're going to hit with this.
Is what we're trying to accomplish possible today? Are there better approaches or workarounds?
The text was updated successfully, but these errors were encountered: