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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

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
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?

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