Skip to content

Add an en var to use the namespace declared in the kubeconfig context #5297

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jybp
Copy link

@jybp jybp commented Apr 11, 2025

Allow for flux to work seamlessly with tools like kubens to avoid having to specify -n.

Adds FLUX_SYSTEM_NAMESPACE_FROM_CONTEXT=true as suggested in #2768 to avoid any breaking changes.

@jybp jybp changed the title Add to inherit kubens context Add an en var to use the namespace declared in the kubeconfig context Apr 11, 2025
@jybp jybp force-pushed the Add-FLUX_SYSTEM_NAMESPACE_FROM_CONTEXT branch from 7afd257 to 1d61cdf Compare April 11, 2025 09:16
@matheuscscp
Copy link
Member

There's been more discussions around this, @kingdonb do you remember which issue was it/which conclusions we reached?

@jybp jybp force-pushed the Add-FLUX_SYSTEM_NAMESPACE_FROM_CONTEXT branch from c288ab9 to 7ff2e1c Compare April 11, 2025 09:27
@kingdonb
Copy link
Member

Yes: #5028

@jybp
Copy link
Author

jybp commented Apr 11, 2025

Added my 2c on #3453

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.

3 participants