-
Notifications
You must be signed in to change notification settings - Fork 54
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
✨Separate CRDs in the Helm chart #1920
Conversation
Signed-off-by: francostellari <fstellari@gmail.com>
Signed-off-by: francostellari <fstellari@gmail.com>
config/default/kustomization.yaml
Outdated
@@ -15,7 +15,7 @@ namePrefix: kubestellar- | |||
# someName: someValue | |||
|
|||
resources: | |||
- ../crd | |||
# - ../crd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was this kustomization accomplishing?
If we are no longer going to use that, perhaps it should be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this line prevents the CRDs from being injected into the chart template yaml.
When doing the same in kubefkex and otp, we commented the line instead of completely removing it.
I can remove it if you prefer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to just remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my own testing and analysis, it appears that this particular line was accomplishing nothing. It is a bit of generic infrastructure inserted by kubebuilder, but it never made a difference in this repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikeSpreitzer correct, at least for the CRD there is currently no kustomization done.
Signed-off-by: francostellari <fstellari@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: 9b155ae16b8775dadcacdfea95e74fbafe885820
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MikeSpreitzer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Move CRDs to the chart
crds/
folder to let Helm install them before applying the templateRelated issue(s)
Fixes #