Commit c42f487
authored
fix(helm/provisioner): fail if psk and key are both set (coder#15157)
Relates to coder#14985
Context:
coder#15122 (comment)
Specifying both `provisionerDaemon.pskSecretName` and
`provisionerDaemon.keySecretName` will now result in an error.
This prevents a potential `CrashLoopBackoff` debug session due to the
following error:
```
error: cannot provide both provisioner key --key and pre-shared key --psk
```1 parent 76bfa9b commit c42f487
File tree
3 files changed
+3
-143
lines changed- helm/provisioner
- templates
- tests
- testdata
3 files changed
+3
-143
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 0 additions & 142 deletions
This file was deleted.
0 commit comments