Skip to content
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

feat(deployment): upgrade strategy #521

Merged
merged 5 commits into from
Apr 4, 2022
Merged

Conversation

iliapolo
Copy link
Member

@iliapolo iliapolo commented Apr 4, 2022

Resolves #365

Signed-off-by: iliapolo <epolon@amazon.com>
Signed-off-by: github-actions <github-actions@github.com>
@iliapolo iliapolo self-assigned this Apr 4, 2022
src/deployment.ts Outdated Show resolved Hide resolved

const spec: k8s.DeploymentSpec = Testing.synth(chart)[0].spec;

expect(deployment.strategy).toEqual(DeploymentStrategy.rollingUpdate());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised this object equality works (I expected you'd have to call _toKube() on each?)

Signed-off-by: Christopher Rybicki <rybickic@amazon.com>
github-actions and others added 2 commits April 4, 2022 19:34
Signed-off-by: github-actions <github-actions@github.com>
@mergify mergify bot merged commit 5dcaced into k8s-22/main Apr 4, 2022
@mergify mergify bot deleted the epolon/deployment-strategy branch April 4, 2022 19:46
iliapolo added a commit that referenced this pull request Apr 14, 2022
Resolves #365

(cherry picked from commit 5dcaced)
Signed-off-by: Eli Polonsky <epolon@amazon.com>
@iliapolo
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
k8s-21/main

Questions ?

Please refer to the Backport tool documentation

iliapolo added a commit that referenced this pull request Apr 14, 2022
Resolves #365

(cherry picked from commit 5dcaced)
Signed-off-by: Eli Polonsky <epolon@amazon.com>
@iliapolo
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
k8s-20/main

Questions ?

Please refer to the Backport tool documentation

iliapolo added a commit that referenced this pull request Apr 14, 2022
* feat(deployment): upgrade strategy (#521)

Resolves #365

(cherry picked from commit 5dcaced)
Signed-off-by: Eli Polonsky <epolon@amazon.com>

* chore: self mutation

Signed-off-by: github-actions <github-actions@github.com>

Co-authored-by: github-actions <github-actions@github.com>
iliapolo added a commit that referenced this pull request Apr 14, 2022
* feat(deployment): upgrade strategy (#521)

Resolves #365

(cherry picked from commit 5dcaced)
Signed-off-by: Eli Polonsky <epolon@amazon.com>

* chore: self mutation

Signed-off-by: github-actions <github-actions@github.com>

Co-authored-by: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customize deployment rollout strategy
2 participants