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

Schematize overlay types #1793

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Schematize overlay types #1793

merged 1 commit into from
Nov 12, 2021

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Nov 3, 2021

Proposed changes

Previously, overlay types (CustomResource, kustomize, helm, yaml)
were not included in the provider schema, and were documented
manually. This change adds these resources and types to the schema
with the IsOverlay flag set so that they can be referenced by the docs
generator and provider codegen.

Related issues (optional)

Codegen and schema changes: pulumi/pulumi#8338
Docs PR using these changes: pulumi/docs#6777

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

github-actions bot commented Nov 4, 2021

Does the PR have any schema changes?

Looking good! No breaking changes found.

New resources:

  • kubernetes:kustomize:Directory

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.

New resources:

  • kubernetes:apiextensions.k8s.io:CustomResource
  • kubernetes:helm.sh/v2:Chart
  • kubernetes:helm.sh/v3:Chart
  • kubernetes:kustomize:Directory
  • kubernetes:yaml:ConfigFile
  • kubernetes:yaml:ConfigGroup

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

3 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.

New resources:

  • kubernetes:apiextensions.k8s.io:CustomResource
  • kubernetes:helm.sh/v2:Chart
  • kubernetes:helm.sh/v3:Chart
  • kubernetes:kustomize:Directory
  • kubernetes:yaml:ConfigFile
  • kubernetes:yaml:ConfigGroup

@lblackstone lblackstone marked this pull request as ready for review November 11, 2021 19:27
Previously, overlay types (CustomResource, kustomize, helm, yaml)
were not included in the provider schema, and were documented
manually. This change adds these resources and types to the schema
with the IsOverlay flag set so that they can be referenced by the docs
generator and provider codegen.
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.

New resources:

  • kubernetes:apiextensions.k8s.io:CustomResource
  • kubernetes:helm.sh/v2:Chart
  • kubernetes:helm.sh/v3:Chart
  • kubernetes:kustomize:Directory
  • kubernetes:yaml:ConfigFile
  • kubernetes:yaml:ConfigGroup

@@ -13,7 +13,7 @@
import requests
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't the change in namespace affect things like ConfigGroup usage etc. for users?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's still exported at the top level as before, so the path shouldn't matter. I didn't have to change any of the tests after this change.

Copy link
Contributor

Choose a reason for hiding this comment

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

ah ok - missed that. LGTM

@lblackstone lblackstone merged commit 4f160d1 into master Nov 12, 2021
@pulumi-bot pulumi-bot deleted the lblackstone/overlay-schema branch November 12, 2021 17: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.

None yet

2 participants