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

Update k8s package deps to v0.18.8 #1265

Merged
merged 1 commit into from
Aug 20, 2020
Merged

Conversation

lblackstone
Copy link
Member

Proposed changes

The logic for checking if a GVK supports
dryRun (server-side diffing) moved, so update
that function to use the new library methods.

Related issues (optional)

Related to #1263

@lblackstone lblackstone self-assigned this Aug 19, 2020
Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

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

LGTM

func SupportsDryRun(client discovery.CachedDiscoveryInterface, dynamicClient dynamic.Interface,
gvk schema.GroupVersionKind) (bool, error) {
// If an error is returned, DryRun is not supported.
if err := resource.VerifyDryRun(gvk, dynamicClient, client); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@lblackstone lblackstone changed the title Update k8s package deps to v0.18.4 Update k8s package deps to v0.18.8 Aug 19, 2020
The logic for checking if a GVK supports
dryRun (server-side diffing) moved, so update
that function to use the new library methods.
@lblackstone
Copy link
Member Author

Kustomize test still failing with OOM, but it's unrelated to these changes

@lblackstone lblackstone merged commit 365f8cd into master Aug 20, 2020
@pulumi-bot pulumi-bot deleted the lblackstone/update-k8s-deps branch August 20, 2020 04:02
@leezen leezen modified the milestones: current, 0.42 Aug 25, 2020
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

3 participants