-
Notifications
You must be signed in to change notification settings - Fork 26
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
Static helm #320
Static helm #320
Conversation
@l0kix2, could you try to restart the test? It shouldn't be affected by my changes. |
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.
Looks good, helm chart looks almost the same, which is we wanted
I only not sure why those CERTIFICATE_NAMESPACE
variables are replaced
Makefile
Outdated
$(call go-install-tool,$(ENVSUBST),github.com/a8m/envsubst/cmd/envsubst,$(ENVSUBST_VERSION)) | ||
|
||
.PHONY: kubectl-slice | ||
kubectl-slice: $(KUBECTL_SLICE) ## Download yq locally if necessary. |
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.
yq --> kubectl-slice
* Fix kustomization deprecation warnings * Update helmify * Fix CRDs patches * Get rid of helmify, copy generated CRDs only
@sgburtsev, it looks like this change has broken the Helm chart construction. If you look at the Helm chart created before and after your change, it's clear that your change has affected the generation of multiple YAML files. For example, Could you please take a look? Maybe you understand why your change triggered this behavior? |
I've fixed this issue in 5863668, but there is still one more bug. In the files values.yaml the image tag of @sgburtsev do you know how to fix that? |
Unfortunately, I didn't take into account github workflows after this changes. |
How to reproduce the behaviour: In make file redefine release version, e.g. run 2 commands from
If you unpack generated helm package, you find that image tag of Moreover: if you remove tag: I suppose that new helm-chart command just copies |
It's quite a discovery for me that nightly build has another name. I supposed that a nightly and a release build should be completely interchangeable. @l0kix2, do you know the reason for that? |
I don't know the answer. I don't think we expect them to be different in any way, so I would suggest we have one image name for operator and helm chart with either release (like 0.0.15) or dev (like 0.0.428-dev-5863668ed96723dba96eff8b2ed81dd001ea3dda) version part. @savnadya do we have a good reason to have different names here? |
As suggested in #313 (comment) I got rid of the helmify step.
The resulting CRDs are almost identical, except for the wrapping of long lines and missing labels (which are not necessary).