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

fix: Take deployed CRDs into account when fixing namespaces #660

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

codablock
Copy link
Collaborator

Description

When a deployment also contains CRDs, the k8s client will not know if an object is namespaced before the CRD is actually applied. This leads to flaky behaviour between the initial and all other deployments.

This commit delays fixing of namespaces until all objects are rendered. Then it takes CRDs into account when determining if an object is namespaced or not.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

When a deployment also contains CRDs, the k8s client will not know if
an object is namespaced before the CRD is actually applied. This leads
to flaky behaviour between the initial and all other deployments.

This commit delays fixing of namespaces until all objects are rendered.
Then it takes CRDs into account when determining if an object is namespaced
or not.
@codablock codablock merged commit b3595b0 into main Jul 11, 2023
5 checks passed
@codablock codablock deleted the fix-namespace-detection branch July 11, 2023 20:35
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.

None yet

1 participant