You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @michael-strigo! This is actually supposed to work already. We merged the bug fix in #17018 yesterday. The PR says it fixes periodic jobs but the dispatch jobs pick up their identity the same way (with a parent job ID). That will ship in Nomad 1.6.0 (with a backport to Nomad 1.5.x and 1.4.x). I'm going to close this issue out, but thanks for reporting it!
Proposal
Allow attaching workload identities to parameterised job dispatches.
Use-cases
Having the ability to read/write variables in non-default paths.
Attempted Solutions
I tried attaching a policy to the parameterised job with
nomad acl policy apply -namespace default -job param policy_name /tmp/policy.hcl
policy.hcl:
However when running, the token only provided access to the default variable at
nomad/jobs/param
.The text was updated successfully, but these errors were encountered: