mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
docs: clarify how to set max token life in ci/cd docs (#6416)
* docs: clarify max token life in ci/cd docs * Update docs/templates/change-management.md --------- Co-authored-by: Ben Potter <me@bpmct.net>
This commit is contained in:
committed by
GitHub
parent
175a41567e
commit
3cb9b3de24
4
docs/templates/change-management.md
vendored
4
docs/templates/change-management.md
vendored
@ -17,7 +17,7 @@ export CODER_TEMPLATE_NAME=kubernetes
|
||||
export CODER_TEMPLATE_DIR=.coder/templates/kubernetes
|
||||
export CODER_TEMPLATE_VERSION=$(git rev-parse --short HEAD)
|
||||
|
||||
# Push the new template template version to Coder
|
||||
# Push the new template version to Coder
|
||||
coder templates push --yes $CODER_TEMPLATE_NAME \
|
||||
--directory $CODER_TEMPLATE_DIR \
|
||||
--name=$CODER_TEMPLATE_VERSION # Version name is optional
|
||||
@ -25,3 +25,5 @@ coder templates push --yes $CODER_TEMPLATE_NAME \
|
||||
|
||||
> Looking for an example? See how we push our development image
|
||||
> and template [via GitHub actions](https://github.com/coder/coder/blob/main/.github/workflows/dogfood.yaml).
|
||||
|
||||
> To create tokens with over a 30 day lifetime, [configure Coder server to set a longer max token lifetime](../cli/coder_server#--max-token-lifetime)
|
||||
|
Reference in New Issue
Block a user