-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Feature request: nested template interpolation #3534
Comments
Hey Isaac, This should be possible with any recent version of Nomad: https://www.nomadproject.io/docs/job-specification/template.html#node-variables |
Well, either I'm brain dead, or it's a bug :( Nomad version0.7.0 Operating system and Environment detailsLinux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux IssueNested interpolation not working Reproduction stepsConnect Nomad to Vault with a PKI backend with a role "role"
Create a nomad job with the following template
Without the Nomad Server logs (if appropriate)
|
Hmm, I was kinda hoping that commenting would re-open. I'll open another issue for the report |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Not sure how simple this would be, but if it's relatively low-hanging, then it would be nifty to allow nested interpolation of variables.
For example, if I want to ask Vault to issue a certificate for a job running which includes an IP alternative name (SAN), I'd want to query that from ${attr.unique.network.ip-address} and doing something like this:
The text was updated successfully, but these errors were encountered: