-
Notifications
You must be signed in to change notification settings - Fork 347
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
[jaeger-operator] Refactor CRD to allow Jaeger CR creation on initial install #372
Conversation
The biggest downside of moving this to the An alternative I have seen if we want the best of both worlds (helm templating in the CRD + installs with |
@czomo Maybe we should put |
I completely missed that use case cause I tested it on already updated CRD/existing cluster. Thanks for pointing this out. Yes, we should move it back to |
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
Should be good to go! |
Signed-off-by: Micah Nagel micah.nagel@parsons.com
What this PR does
#368 moved the CRD out of the special
chart/crds
helm chart folder and intochart/crd
. While this did result in the chart making use of the already existingchart/templates/crd.yaml
template to install the CRD, the other result is that you must install the helm chart withoutjaeger.create
set to true, then upgrade after the CRD has been installed. If we make use of thechart/crds
folder as recommended by the first method here then the CRDs are installed before Helm applies the other manifests.This unknowingly introduced what I would consider a breaking change into the chart - you now are required to install the operator separately from the
Jaeger
CR (install then upgrade).Fixes #373
Checklist
[jaeger]
or[jaeger-operator]
)