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

feat: enhance Kyma type #4

Merged
merged 1 commit into from
May 2, 2022

Conversation

adityabhatia
Copy link
Contributor

No description provided.

@jakobmoellerdev jakobmoellerdev self-requested a review May 2, 2022 07:52
Copy link
Contributor

@jakobmoellerdev jakobmoellerdev left a comment

Choose a reason for hiding this comment

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

Overall very cool! I like how you kept close to the original k8s specs. Still I am wondering wether we can simply include the API Spec from Deployment as is without introducing custom states. I think we can go ahead either way, just want to bring up the discussion!

KymaStateReady KymaState = "Ready"

// KymaStateProcessing signifies Kyma is reconciling
KymaStateProcessing KymaState = "Processing"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need custom states here instead of reusing the states from Apimachinery (e.g. like Deployment with "Progressing")

@jakobmoellerdev
Copy link
Contributor

Also, https://github.com/kyma-project/kyma-operator/blob/main/operator/pkg/client/listers/operator.kyma-project.io/v1alpha1/kyma.go#L95 errors out on main, do you know why that is? possibly related to api spec changes

@jakobmoellerdev jakobmoellerdev added the lgtm Looks good to me! label May 2, 2022
@kyma-bot kyma-bot merged commit 50e9116 into kyma-project:main May 2, 2022
@adityabhatia adityabhatia deleted the enhance_kyma_type branch July 5, 2022 15:57
jeremyharisch pushed a commit to jeremyharisch/lifecycle-manager that referenced this pull request Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup of the Reconciler Operator Repository managing the Component Reconciliation inside SKR
3 participants