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

Promote Stack CR spec to v1 #220

Merged
merged 5 commits into from
Oct 11, 2021
Merged

Promote Stack CR spec to v1 #220

merged 5 commits into from
Oct 11, 2021

Conversation

viveklak
Copy link
Contributor

@viveklak viveklak commented Oct 11, 2021

Proposed changes

Fixes #215

Changes have been split up into commits to aid reviewing.

Related issues (optional)

#215

)

// StackSpec defines the desired state of Pulumi Stack being managed by this operator.
type StackSpec struct {
Copy link
Contributor Author

@viveklak viveklak Oct 11, 2021

Choose a reason for hiding this comment

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

This follows an older version of the migration guide for upgrading api spec, see operator-framework/operator-sdk@0481703#diff-b99ea84873816658e12d1bdd8431f78a61cf882b6961467738c9503ab3db553b

The current tooling doesn't allow us the ability to install webhooks to perform translation of CRDs so culling deprecated fields is not possible right now. We will have to do that as part of #212 in time for v2 release. By keeping the core api spec the same, we maintain backward compatibility for existing stack specs.

@viveklak viveklak merged commit c0a36f3 into master Oct 11, 2021
@viveklak viveklak deleted the vl/V1CR branch October 11, 2021 21:06
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.

Kubernetes Operator v1 GA
2 participants