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

fix(k8s): return deployed mode in container Deploy status #5302

Merged
merged 1 commit into from Oct 25, 2023

Conversation

thsig
Copy link
Collaborator

@thsig thsig commented Oct 25, 2023

What this PR does / why we need it:

Before this fix, we were returning the action mode (e.g. default, sync or local) set on the locally generated manifests under status.detail.mode for container Deploys.

This meant that e.g. the get status command would always show the mode as default. The fix was to use the action mode set on the deployed resources, like we've been doing for kubernetes and helm Deploys.

Also added an integ test case for this behavior.

The usefulness of this fix is that it should allow the Cloud UI to rely on the action modes in deploy statuses to show e.g. the mode of Deploys in the graph view.

Before this fix, we were returning the action mode (e.g. `default`,
`sync` or `local`) set on the locally generated manifests under
`status.detail.mode` for `container` Deploys.

This meant that e.g. the `get status` command would always show the mode
as `default`. The fix was to use the action mode set on the deployed
resources, like we've been doing for `kubernetes` and `helm` Deploys.

Also added an integ test case for this behavior.
Copy link
Collaborator

@vvagaytsev vvagaytsev left a comment

Choose a reason for hiding this comment

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

Thank you! 👍

@vvagaytsev vvagaytsev added this pull request to the merge queue Oct 25, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 25, 2023
@vvagaytsev vvagaytsev added this pull request to the merge queue Oct 25, 2023
Merged via the queue into main with commit 6c18b6d Oct 25, 2023
44 checks passed
@vvagaytsev vvagaytsev deleted the fix-container-deploy-status-mode branch October 25, 2023 11:59
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.

None yet

3 participants