-
Notifications
You must be signed in to change notification settings - Fork 881
chore(docs): fix inconsistencies in external provisioner docs #15416
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
Conversation
…nal provisioner docs
1. Modify your Coder `values.yaml` to include | ||
|
||
```yaml | ||
provisionerDaemon: | ||
keySecretName: "coder-provisioner-keys" | ||
keySecretKey: "key1" | ||
``` | ||
|
||
1. Redeploy Coder with the new `values.yaml` to roll out the PSK. You can omit | ||
`--version <your version>` to also upgrade Coder to the latest version. | ||
|
||
```sh | ||
helm upgrade coder coder-v2/coder \ | ||
--namespace coder \ | ||
--version <your version> \ | ||
--values values.yaml |
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.
review: this is no longer required when using provisioner keys, removed.
@@ -331,13 +315,17 @@ will use in concert with the Helm chart for deploying the Coder server. | |||
value: "https://coder.example.com" | |||
replicaCount: 10 | |||
provisionerDaemon: | |||
# NOTE: in older versions of the Helm chart, it is required to set this to an empty string. | |||
pskSecretName: "" |
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.
review: PR to address this workaround is here: #15417
@@ -288,8 +291,7 @@ will use in concert with the Helm chart for deploying the Coder server. | |||
```sh | |||
coder provisioner keys create my-cool-key --org default | |||
# Optionally, you can specify tags for the provisioner key: | |||
# coder provisioner keys create my-cool-key --org default --tags location=auh kind=k8s |
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.
review: --tags
is incorrect -> --tag A --tag B
… set (#15417) Relates to #15416 This PR modifies the provisioner helm chart logic: - Previously, when both provisionerDaemon.keySecretName and provisionerDaemon.pskSecretName were both set, we would fail to install the chart. This required users to have an obnoxious workaround in place where setting provisionerDaemon.pskSecretName="" was required in order to use provisioner keys. We now check for pskSecretName being set to the default value when keySecretName is also specified, and switch to provisioner key authentication instead of PSK. The previous workaround is still supported. - We also had omitted to check for provisionerd.Tags being set along with provisionerDaemon.keySecretName. This would result in a crashlooping provisioner deployment, as setting both of these configuration options is not allowed. We now fast-fail the Helm deployment if we detect this scenario.
… set (#15417) Relates to #15416 This PR modifies the provisioner helm chart logic: - Previously, when both provisionerDaemon.keySecretName and provisionerDaemon.pskSecretName were both set, we would fail to install the chart. This required users to have an obnoxious workaround in place where setting provisionerDaemon.pskSecretName="" was required in order to use provisioner keys. We now check for pskSecretName being set to the default value when keySecretName is also specified, and switch to provisioner key authentication instead of PSK. The previous workaround is still supported. - We also had omitted to check for provisionerd.Tags being set along with provisionerDaemon.keySecretName. This would result in a crashlooping provisioner deployment, as setting both of these configuration options is not allowed. We now fast-fail the Helm deployment if we detect this scenario. (cherry picked from commit 6781b0f)
This PR: - Updates the table in `docs/admin/provisioners.md` to include highlight multi-org changes - Updates the instructions for the provisionerd helm chart when using provisioner keys --------- Co-authored-by: Ben Potter <ben@coder.com> (cherry picked from commit 9f05b19)
This PR:
docs/admin/provisioners.md
to include highlight multi-org changes