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 regression in TypeScript YAML SDK #1157

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

lblackstone
Copy link
Member

Proposed changes

Added back support for v1/List in YAML SDK. This
was inadvertantly removed when converting over to
schema-based code generation.

Related issues (optional)

Fix #1156

Added back support for v1/List in YAML SDK. This
was inadvertantly removed when converting over to
schema-based code generation.
@lblackstone lblackstone requested review from metral and pgavlin June 11, 2020 15:47
@@ -399,8 +399,9 @@ export class ConfigFile extends CollectionComponentResource {
// for resource definitions that can be managed by Kubernetes, and registers those with the
// engine instead.
if (
{{range $idx, $v := .ListKinds -}} {{if $idx}}
|| {{else}} {{end}}(gvk === "{{$v.GVK}}")
(gvk === "v1/List")
Copy link
Member

Choose a reason for hiding this comment

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

Has this always been hand-coded, or was it auto-generated prior to the switch to schema codegen?

Copy link
Member Author

Choose a reason for hiding this comment

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

v1/List was hardcoded before.

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.

regression: pulumi no longer supports v1/List
2 participants