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

Handle auto-named namespaces for server-side diff #1633

Merged
merged 3 commits into from Jun 30, 2021

Conversation

lblackstone
Copy link
Member

Proposed changes

This fixes a bug with server-side diff support where auto-named
namespaces would cause resources using that namespace to
fail during preview. This was caused by configuring the k8s client
to run a server-side preview on a namespace that didn't yet exist.

Related issues (optional)

Fix #1632

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@lblackstone lblackstone force-pushed the lblackstone/ssa-namespace-bug branch from 917251e to c19f341 Compare June 24, 2021 18:02
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

1 similar comment
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

provider/pkg/provider/provider.go Outdated Show resolved Hide resolved
provider/pkg/await/error.go Show resolved Hide resolved
provider/pkg/provider/provider.go Outdated Show resolved Hide resolved
This fixes a bug with server-side diff support where auto-named
namespaces would cause resources using that namespace to
fail during preview. This was caused by configuring the k8s client
to run a server-side preview on a namespace that didn't yet exist.
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

2 similar comments
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link
Member

@mikhailshilkov mikhailshilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Server-side diff fails if the namespace is auto-named
2 participants