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: ui getPodName should use v2 format by default (fixes #11015) #11016

Merged
merged 1 commit into from
May 12, 2023

Conversation

or-shachar
Copy link
Contributor

@or-shachar or-shachar commented Apr 30, 2023

I noticed that sometimes the UI shows the wrong pod name. Specifically for running pods.

I noticed that this change cc9d14c made pod name format v2 to be default even when the annotation is missing in the backend, but this behavior was never coded into the UI code.

This tries to fix it.

Fixes #11015

@or-shachar or-shachar marked this pull request as ready for review April 30, 2023 12:41
Signed-off-by: or-shachar <or.shachar@wiz.io>
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

cc @JPZ13

@isubasinghe
Copy link
Member

I am surprised that the UI has to reconstruct the podName, that is somewhat alarming. Anyway this looks fine.

@terrytangyuan terrytangyuan merged commit 4225cb8 into argoproj:master May 12, 2023
terrytangyuan pushed a commit that referenced this pull request May 25, 2023
JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
) (argoproj#11016)

Signed-off-by: or-shachar <or.shachar@wiz.io>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui: getPodName is using v1 by default
4 participants