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 crd version for Kptfile to v1 #2248

Merged
merged 12 commits into from
Jun 17, 2021

Conversation

Shell32-Natsu
Copy link
Contributor

Part of #2203

What this PR does:

  1. Updating the schema in the types.go & all references in tests (unit and end to end)/code
  2. Updating examples in the kpt repo
  3. Updating reference docs and book
  4. Updating the code that handles unrecognized versions of Kptfile, for example, if one uses kpt 1.0 and finds a package with alpha2 or previous versions

@Shell32-Natsu Shell32-Natsu changed the title Update crd version Update crd version for Kptfile to v1 Jun 15, 2021
pkg/api/kptfile/v1/types.go Outdated Show resolved Hide resolved
pkg/api/kptfile/v1/types.go Outdated Show resolved Hide resolved
Copy link
Contributor

@droot droot left a comment

Choose a reason for hiding this comment

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

I think we agree on removing the ignore field from the schema, other than that, it's looking good to me.

pkg/api/kptfile/v1/types.go Outdated Show resolved Hide resolved
Copy link
Contributor

@frankfarzan frankfarzan left a comment

Choose a reason for hiding this comment

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

Please coordinate with @phanimarupaka on next release for migrating critical packages.

@droot
Copy link
Contributor

droot commented Jun 17, 2021

@Shell32-Natsu Can you double check if all the items listed in the original issue are addressed for all the CRDs.

internal/pkg/pkg.go Outdated Show resolved Hide resolved
@Shell32-Natsu
Copy link
Contributor Author

As discussed offline we have decided to not support v1alpha2 version.

@Shell32-Natsu Shell32-Natsu merged commit ae8d961 into kptdev:main Jun 17, 2021
@Shell32-Natsu Shell32-Natsu deleted the update-crd-version branch June 17, 2021 17:51
Shell32-Natsu added a commit that referenced this pull request Jun 18, 2021
Shell32-Natsu added a commit that referenced this pull request Jun 18, 2021
phanimarupaka added a commit that referenced this pull request Jun 19, 2021
@phanimarupaka phanimarupaka mentioned this pull request Jun 19, 2021
phanimarupaka added a commit to phanimarupaka/kpt that referenced this pull request Jun 22, 2021
phanimarupaka added a commit to phanimarupaka/kpt that referenced this pull request Jun 22, 2021
phanimarupaka added a commit that referenced this pull request Jun 22, 2021
* Revert "Revert "Update crd version for Kptfile to `v1` (#2248)" (#2278)"

This reverts commit 6e506b9.

* Update error message

* Suggested changes

* Uprev fix to v0.2
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.

4 participants