Skip to content

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

Closed
jybp wants to merge 2 commits into
fluxcd:mainfrom
jybp:Add-FLUX_SYSTEM_NAMESPACE_FROM_CONTEXT
Closed

Add an en var to use the namespace declared in the kubeconfig context#5297
jybp wants to merge 2 commits into
fluxcd:mainfrom
jybp:Add-FLUX_SYSTEM_NAMESPACE_FROM_CONTEXT

Conversation

@jybp
Copy link
Copy Markdown

@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
Signed-off-by: JB Pinalie <2850825+jybp@users.noreply.github.com>
@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
Copy Markdown
Member

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

Signed-off-by: JB Pinalie <2850825+jybp@users.noreply.github.com>
@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
Copy Markdown
Member

Yes: #5028

@jybp
Copy link
Copy Markdown
Author

jybp commented Apr 11, 2025

Added my 2c on #3453

@jybp
Copy link
Copy Markdown
Author

jybp commented Apr 30, 2026

Welp dupe #5831

@jybp jybp closed this Apr 30, 2026
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