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

console: consistently set .Namespace #1586

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

chrisseto
Copy link
Contributor

Prior to this commit objects produced from the console helm chart would inconsistently set namespace. This isn't particularly noticeable as kubectl and helm often set namespace transparently but it can cause issues when using other tooling.

This commit sets namespace on all objects it was set on, adds a test assertion that namespace is present across all objects, and removes usages of extraInitContainers from tests as they generated invalid manifests.

@chrisseto chrisseto enabled auto-merge (rebase) October 30, 2024 17:52
@chrisseto
Copy link
Contributor Author

Hmmmm, there's an interesting CI failure. GoHelmEquivalence fails because the console chart isn't updated in tests which isn't possible because we need to merge the change to get a release of console....

@RafalKorepta
Copy link
Contributor

Could we disable console in this test, release and then re-enable that test?

Prior to this commit objects produced from the console helm chart would
inconsistently set `namespace`. This isn't particularly noticeable as `kubectl`
and `helm` often set namespace transparently but it can cause issues when using
other tooling.

This commit sets namespace on all objects it was set on, adds a test assertion
that namespace is present across all objects, and removes usages of
`extraInitContainers` from tests as they generated invalid manifests.
@RafalKorepta RafalKorepta force-pushed the chris/p/console-set-namespace branch from b82dba9 to fcd6341 Compare December 9, 2024 15:08
@chrisseto chrisseto merged commit 592a079 into main Dec 9, 2024
14 checks passed
@chrisseto chrisseto deleted the chris/p/console-set-namespace branch December 9, 2024 15:18
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.

2 participants