You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add ability to specify local config
This is useful for cases when a user has previously logged in with sso;
when a local config path has been set the `apiClient` will take the
token from the config.
* deps: upgrade argocd
The behaviour of `localconfig.DefaultLocalConfigPath` has changed
between `2.2.x` and `2.3.x`, so to ensure that the correct default path
is being taken, upgrade argocd along with its dependencies.
* docs: update index.md
Co-authored-by: Blake Pettersson <[email protected]>
Copy file name to clipboardExpand all lines: docs/index.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,11 @@ provider "argocd" {
14
14
## Argument Reference
15
15
16
16
*`server_addr` - (Required) ArgoCD server address with port.
17
-
*`auth_token` - (Optional) ArgoCD authentication token, taked precedence over `username`/`password`. Can be set through the `ARGOCD_AUTH_TOKEN` environment variable.
17
+
*`use_local_config` - (Optional) use the authentication settings found in the local config file. Useful when you have previously logged in using SSO. Conflicts with
18
+
`auth_token`, `username` and `password`.
19
+
*`config_path` (Optional) - Override the default config path of `$HOME/.config/argocd/config`. Only relevant when using `use_local_config` above.
20
+
Can be set through the `ARGOCD_CONFIG_PATH` environment variable.
21
+
*`auth_token` - (Optional) ArgoCD authentication token, takes precedence over `username`/`password`. Can be set through the `ARGOCD_AUTH_TOKEN` environment variable.
18
22
*`username` - (Optional) authentication username. Can be set through the `ARGOCD_AUTH_USERNAME` environment variable.
19
23
*`password` - (Optional) authentication password. Can be set through the `ARGOCD_AUTH_PASSWORD` environment variable.
20
24
*`cert_file` - (Optional) Additional root CA certificates file to add to the client TLS connection pool.
0 commit comments