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 resource deprecation/removal warnings #1162

Merged
merged 2 commits into from
Jun 12, 2020

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Jun 12, 2020

Proposed changes

Updated the warnings based on the most recent upstream changelogs

Related issues (optional)

Fix #1161

@lblackstone lblackstone requested a review from metral June 12, 2020 20:30
@@ -196,3 +202,15 @@ const (
StorageV1A1 groupVersion = "storage.k8s.io/v1alpha1"
StorageV1B1 groupVersion = "storage.k8s.io/v1beta1"
)

// toGVK is a helper function that converts the internal groupVersion and Kind types to a schema.GroupVersionKind
func toGVK(gv groupVersion, kind Kind) schema.GroupVersionKind {
Copy link
Contributor

Choose a reason for hiding this comment

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

I could be mistaken, but doesn't a similar helper function exist somewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

There are similar methods that take string inputs, but not these internal types.

@lblackstone lblackstone merged commit 5b13dd3 into master Jun 12, 2020
@pulumi-bot pulumi-bot deleted the lblackstone/update-removal branch June 12, 2020 22:37
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.

Update deprecations/removals
2 participants