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

ensure kubeclient ns is release ns for helm actions #2652

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

thorbenbelow
Copy link
Contributor

Fixes #2634

Also looks like this is the same issue as with #1033

From my understanding helm will use the namespace from flags to determine where it runs actions. Imo this should always be the release namespace.

Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@thorbenbelow Thank you for this update Thornben!

internal/dao/helm_chart.go Show resolved Hide resolved
Signed-off-by: Thorben Below <56894536+thorbenbelow@users.noreply.github.com>
@tadeha
Copy link

tadeha commented Jun 29, 2024

Hello all, when will this PR get merged? It can cause huge problems.

@thorbenbelow
Copy link
Contributor Author

Hey @derailed, are you missing something in this PR for it to be mergeable?

@frmrm
Copy link

frmrm commented Jul 5, 2024

Don't want to start a dogpile here, but this bug also manifests in how Helm rollbacks works, it appears, and has caused a production incident for us in the past using k9s. Would love to see this fixed.

Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@thorbenbelow Thank you for the updates Thornben

@derailed derailed merged commit 2a931b8 into derailed:master Aug 16, 2024
3 checks passed
uozalp pushed a commit to uozalp/k9s that referenced this pull request Sep 2, 2024
Signed-off-by: Thorben Below <56894536+thorbenbelow@users.noreply.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.

Helm rollback uses default namespace
4 participants