feat(argo-workflows): Add dev/delegated auth (#1048)

* add commented server auth disable option

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* add sectioned server authentication documentation

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* add change notes

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* fix helm-docs checksum error

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* revert dropped `volumeMounts` docs entry by removing whitespace above commented-out `extraArgs`

Signed-off-by: reinvantveer <rein@vantveer.me>

* add extra comment on disabling auth

Signed-off-by: reinvantveer <rein@vantveer.me>
This commit is contained in:
Rein van 't Veer 2021-12-06 11:01:50 +01:00 committed by GitHub
parent 9b35844af7
commit 16a3b26f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 4 deletions

View file

@ -15,8 +15,14 @@ A few options are:
## Usage Notes
### Workflow controller
This chart defaults to setting the `controller.instanceID.enabled` to `false` now, which means the deployed controller will act upon any workflow deployed to the cluster. If you would like to limit the behavior and deploy multiple workflow controllers, please use the `controller.instanceID.enabled` attribute along with one of it's configuration options to set the `instanceID` of the workflow controller to be properly scoped for your needs.
### Workflow server authentication
By default, the chart requires some kind of authentication mechanism. This adopts the [default behaviour from the Argo project](https://github.com/argoproj/argo-workflows/pull/5211) itself. However, for local development purposes, or cases where your gateway authentication is covered by some other means, you can set the authentication mode for the Argo server by setting the `server.extraArgs: [--auth-mode=server]`. There are a few additional comments in the values.yaml file itself, including commented-out settings to disable authentication on the server UI itself using the same `--auth-mode=server` setting.
## Values
The `values.yaml` contains items used to tweak a deployment of this chart.
@ -136,7 +142,7 @@ Fields to note:
| server.clusterWorkflowTemplates.enableEditing | bool | `true` | Give the server permissions to edit ClusterWorkflowTemplates. |
| server.clusterWorkflowTemplates.enabled | bool | `true` | Create a ClusterRole and CRB for the server to access ClusterWorkflowTemplates. |
| server.enabled | bool | `true` | Deploy the Argo Server |
| server.extraArgs | list | `[]` | Extra arguments to provide to the Argo server binary. |
| server.extraArgs | list | `[]` | Extra arguments to provide to the Argo server binary, such as for disabling authentication. |
| server.extraContainers | list | `[]` | Extra containers to be added to the server deployment |
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
| server.image.registry | string | `"quay.io"` | Registry to use for the server |