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

[STRMCMP-590] Update CRD version to v1beta1 #67

Merged
merged 2 commits into from
Aug 6, 2019
Merged

Conversation

mwylde
Copy link
Contributor

@mwylde mwylde commented Aug 6, 2019

This (large but mechanical) PR updates the CRD version to from v1alpha1 to v1beta1, and the operator version to 0.2.0.

Users will need to update the CRD by running

$ kubectl delete crd flinkapplications.flink.k8s.io
$ kubectl create -f deploy/crd.yaml

as well as update the api version of any FlinkApplication custom resources.

@mwylde mwylde changed the title Update CRD version to v1beta1 [STRMCMP-590] Update CRD version to v1beta1 Aug 6, 2019
)

func init() {
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
AddToSchemes = append(AddToSchemes, v1alpha1.SchemeBuilder.AddToScheme)
AddToSchemes = append(AddToSchemes, v1beta1.SchemeBuilder.AddToScheme)
Copy link
Contributor

Choose a reason for hiding this comment

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

The file name indicates addtoscheme_v1alpha1.go

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@anandswaminathan
Copy link
Contributor

+1

@mwylde mwylde merged commit f687fe5 into master Aug 6, 2019
@mwylde mwylde deleted the version_v1beta1 branch August 6, 2019 23:55
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.

2 participants