Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 7 commits intomainfromcj/provisioner-helm-docs
Nov 7, 2024

Conversation

johnstcn
Copy link
Member

This PR:

  • Updates the table indocs/admin/provisioners.md to include highlight multi-org changes
  • Updates the instructions for the provisionerd helm chart when using provisioner keys

@johnstcnjohnstcn self-assigned thisNov 6, 2024
@johnstcnjohnstcn changed the titleCj/provisioner helm docschore(docs): fix inconsistencies in external provisioner docsNov 6, 2024
Comment on lines -306 to -321
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
Copy link
MemberAuthor

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.

bpmct reacted with thumbs up emoji
@@ -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: ""
Copy link
MemberAuthor

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

bpmct reacted with thumbs up emoji
@@ -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
Copy link
MemberAuthor

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

bpmct reacted with thumbs up emoji
johnstcn added a commit that referenced this pull requestNov 7, 2024
… set (#15417)Relates to#15416This 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.
@johnstcnjohnstcn merged commit9f05b19 intomainNov 7, 2024
27 checks passed
@johnstcnjohnstcn deleted the cj/provisioner-helm-docs branchNovember 7, 2024 13:28
bpmct pushed a commit that referenced this pull requestNov 8, 2024
… set (#15417)Relates to#15416This 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 commit6781b0f)
bpmct added a commit that referenced this pull requestNov 8, 2024
This PR:- Updates the table in `docs/admin/provisioners.md` to include highlightmulti-org changes- Updates the instructions for the provisionerd helm chart when usingprovisioner keys---------Co-authored-by: Ben Potter <ben@coder.com>(cherry picked from commit9f05b19)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@bpmctbpmctbpmct approved these changes

@EmyrkEmyrkAwaiting requested review from Emyrk

@matifalimatifaliAwaiting requested review from matifali

@EdwardAngertEdwardAngertAwaiting requested review from EdwardAngert

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@johnstcn@bpmct

[8]ページ先頭

©2009-2025 Movatter.jp