Repository navigation
Rollout integration - #85
Merged
LeaveMyYard merged 3 commits intoJul 11, 2023
Merged
Conversation
Closed
LeaveMyYard
self-requested a review
July 5, 2023 14:16
LeaveMyYard
suggested changes
Jul 5, 2023
Contributor
There was a problem hiding this comment.
I like your PR, the only thing I would like to change it the location of the rollout file.
I feel like I would have done a submodule in kubernetes folder, as rollout is not itself an integration, but rather an addition to kubernetes integration.
Overall code looks good, but I want to test it additionally before merging
Good job
Contributor
|
Just checked and |
LeaveMyYard
approved these changes
Jul 11, 2023
arnoldyahad
force-pushed
the
rollout_integration
branch
from
July 11, 2023 11:27
da119a3 to
7641f61
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rollout Integration
If you are using Rollouts by ArgoCD instead of deployments -
krrwon't show it as it doesnt support rollouts.since we are using
krrand we are relying heavily on Rollouts - we created this PR in-order forkrrto bring recommendations to rollouts as well.To not make huge changes in the way
krrworks, I have added a change to the kubernetes client - added 2 functions:list_rollout_for_all_namespaceslist_rollout_for_all_namespaces_with_http_infoWhich are copies of the original functions of deployment, just for rollouts.
This is the most minimal way i've found to do this change and add support for rollouts (using any other custom object api by kubernetes resulted in it not being good enough for
V1DeploymentListor anyV1CustomList)