backport of commit 6e4603e8ba503cd08279f50da1a4c0a5539a9768 (#18011)

This pull request was automerged via backport-assistant
This commit is contained in:
hc-github-team-nomad-core 2023-07-20 13:16:34 -05:00 committed by GitHub
parent d3b1d58c4d
commit 36163c36f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

3
.changelog/17933.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
ui: indicate that nomad/jobs as a variable path is auto-accessible by all nomad jobs
```

View File

@ -10,7 +10,8 @@
{{#if @model.isNew}}
{{#unless this.isJobTemplateVariable}}
<div class="related-entities related-entities-hint">
<p>Prefix your path with <code>nomad/jobs/</code> to automatically make your variable accessible to a specified job, task group, or task.<br />
<p>Prefix your path with <code>nomad/jobs</code> to automatically make your variable accessible to all jobs. <br />
Adding job name, group name, or task name will make your variable available to that specific job, group, or task. <br />
Format: <code>nomad/jobs/&lt;jobname&gt;</code>, <code>nomad/jobs/&lt;jobname&gt;/&lt;groupname&gt;</code>, <code>nomad/jobs/&lt;jobname&gt;/&lt;groupname&gt;/&lt;taskname&gt;</code></p>
</div>
{{/unless}}