-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial Flatcar support for CAPZ #81
Conversation
* Update reservation script to work both on ubuntu and flatcar * pre-create /var/lib/kubelet
…Community Gallery rather than the marketplace
472289a
to
1b9bc59
Compare
Also fix the Makefile to actually normalize the schema on the normalize target
6debdc9
to
b73efdf
Compare
"type": "string" | ||
}, | ||
"name": { | ||
"default": "{{ printf \"capi-flatcar-stable-%s-gen2\" .Values.internal.kubernetesVersion }}", |
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.
"default": "{{ printf \"capi-flatcar-stable-%s-gen2\" .Values.internal.kubernetesVersion }}", | |
"default": "capi-flatcar-stable-%s-gen2", |
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 know it is ugly, I can try something else 👍
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 don't think we can do it like that , because if we move the helm function
out of the variable name we risk
capi-flatcar-stable-XXX-gen2%!(EXTRA string=1.24.11)
if a value without -%s
is passed in
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.
best i can do is
- have an empty default
- if the value is empty then use an hardcoded template to render the name
- if the value is defined use the value as it is
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.
@marians please check updated code
Co-authored-by: Marian Steinbach <[email protected]>
Co-authored-by: Marian Steinbach <[email protected]>
Towards giantswarm/roadmap#1659