-
Couldn't load subscription status.
- Fork 2k
Docs: Add manage Nomad variables page #27003
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
base: main
Are you sure you want to change the base?
Conversation
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.
Great work.
All I have is little nits. Including this request: Can you change manage/manage-variables.mdx to manage/variables.mdx to simplify the path?
| Most Nomad workloads need access to configuration values or secrets. Nomad has a | ||
| `template` block to [provide such configuration to | ||
| tasks](/nomad/docs/job-specification/template#nomad-variables). Nomad variables | ||
| provide the option to store configuration at file-like paths | ||
| directly in Nomad's state store. Access these variables directly from | ||
| your task templates. Nomad encrypts and replicates the contents of these variables between servers via Raft. Access to variables is controlled by |
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.
| Most Nomad workloads need access to configuration values or secrets. Nomad has a | |
| `template` block to [provide such configuration to | |
| tasks](/nomad/docs/job-specification/template#nomad-variables). Nomad variables | |
| provide the option to store configuration at file-like paths | |
| directly in Nomad's state store. Access these variables directly from | |
| your task templates. Nomad encrypts and replicates the contents of these variables between servers via Raft. Access to variables is controlled by | |
| Most Nomad workloads need access to configuration values or secrets. Nomad has a | |
| `template` block to [provide these values to | |
| tasks](/nomad/docs/job-specification/template#nomad-variables). Nomad variables | |
| provide the option to store configuration at file-like paths | |
| directly in Nomad's state store so that you can access these variables directly from | |
| your task templates. Nomad encrypts and replicates the contents of these variables between servers with Raft communication. Access to variables is controlled by |
| Nomad scopes a Nomad variable to a namespace. You may control access to Nomad | ||
| variables with ACL policies. |
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.
| Nomad scopes a Nomad variable to a namespace. You may control access to Nomad | |
| variables with ACL policies. | |
| Nomad scopes a Nomad variable to a namespace and allows access to Nomad | |
| variables according to ACL policies. |
| To learn how to access Nomad variables in your job specification, refer to the | ||
| [Use Nomad variables in tasks](/nomad/docs/job-declare/nomad-variables) guide. |
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.
| To learn how to access Nomad variables in your job specification, refer to the | |
| [Use Nomad variables in tasks](/nomad/docs/job-declare/nomad-variables) guide. | |
| To learn how to access Nomad variables in your job specification, refer to [Use Nomad variables in tasks](/nomad/docs/job-declare/nomad-variables). |
| $ nomad var put -namespace prod secret/foo @spec.nv.json | ||
| ``` | ||
|
|
||
| Use a hyphen ("-") to instruct the command to read the variable value from |
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.
| Use a hyphen ("-") to instruct the command to read the variable value from | |
| Use a hyphen (`-`) to instruct the command to read the variable value from |
Description
Links
Jira: CE-974
https://nomad-git-ce974vars-hashicorp.vercel.app/nomad/docs/manage/manage-variables
Contributor Checklist
changelog entry using the
make clcommand.ensure regressions will be caught.
and job configuration, please update the Nomad website documentation to reflect this. Refer to
the website README for docs guidelines. Please also consider whether the
change requires notes within the upgrade guide.
Reviewer Checklist
backporting document.
in the majority of situations. The main exceptions are long-lived feature branches or merges where
history should be preserved.
within the public repository.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.