-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add support for blue/green deployments #1230
Add support for blue/green deployments #1230
Conversation
flupke
commented
Apr 19, 2021
•
edited
Loading
edited
- webhook certificate name is tied to release names
- add flags to control the deployment of the Role and ClusterRole separately
2d69dd6
to
e08b793
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do a rebase? Thanks!
This is the first part of changes that will allow doing blue/green deployments of the Spark Operator.
This is the second part of changes allowing blue/green deployments of the Spark Operator: one can now deploy the ClusterRole without the Role, which would be defined in the common part of a blue/green deployment. Note this is a breaking change, so the chart version has been bumped to 2.
e08b793
to
83689dc
Compare
Done. Please note that the chart comes with a breaking change and has been updated to 2.0.0 |
Is it possible to keep the variable |
Ok that's better indeed! how would I mark |
Probably just update the table in https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/charts/spark-operator-chart/README.md. |
| podSecurityContext | object | `{}` | Pod security context | | ||
| rbac.create | bool | `true` | Create and use `rbac` resources | | ||
| rbac.create | bool | `false` | DEPRECATED - use createRole and createClusterRole | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: add ` around createRole and createClusterRole
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in daeda76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
* Webhook certificate secrets name is tied to the release name This is the first part of changes that will allow doing blue/green deployments of the Spark Operator. * Split values' rbac.create flag in createRole and createClusterRole This is the second part of changes allowing blue/green deployments of the Spark Operator: one can now deploy the ClusterRole without the Role, which would be defined in the common part of a blue/green deployment. Note this is a breaking change, so the chart version has been bumped to 2. * fixup! Split values' rbac.create flag in createRole and createClusterRole * fixup! Split values' rbac.create flag in createRole and createClusterRole * fixup! Split values' rbac.create flag in createRole and createClusterRole