-
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
Enable templating within systemd unit files #351
Conversation
Signed-off-by: Marcus Noble <[email protected]>
Hey @AverageMarcus, a test pull request has been created for you in the cluster-aws repo! Go to pull request giantswarm/cluster-aws#872 in order to test your cluster chart changes on AWS. |
Signed-off-by: Marcus Noble <[email protected]>
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 if tested
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 have no issues with this, so me likey
following up to my review, i thought of a helpful addition. as we're making an interface to systemd units here, it would be helpful to have edit - i've made these changes but I haven't pushed them yet |
And a further thought - would it be possible to support multiple Unit ordering fields like we already do with edit - i've made these changes but I haven't pushed them yet |
2b72e88
to
2238fde
Compare
2238fde
to
b629f78
Compare
b156b89
to
511b4ed
Compare
511b4ed
to
fe525c9
Compare
this was tested with the following provider values:
and the following systemd unit values:
which produced the following unit:
|
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.
This is beautiful! 😍 (I can't approve it though as I opened the PR 🤦 )
@Gacko Mind giving this work of art a little ✅ ?
There were no differences in the rendered Helm template. Output
|
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!
What does this PR do?
Fixes giantswarm/roadmap#3691
Service
section in custom systemd configurationAfter
,Requires
,Wants
andBindsTo
within unit section of custom systemd configurationWhat is the effect of this change to users?
N/A - allows for additional configuration from cluster charts
How does it look like?
N/A
Any background context you can provide?
Required by
cluster-cloud-director
to allow the customer to provide some custom values that will get added to the ignitionWhat is needed from the reviewers?
Do the docs need to be updated?
Should this change be mentioned in the release notes?