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
Add support for setting custom HTTP headers to argo CLI, similar to argocd-H, --header.
Use Cases
When Argo Workflows is configured behind IAP proxy like Cloudflare Access, we need to set a custom header with key cf-access-token and the actual token as a value.
Otherwise, when we execute argo list, we face the following error:
FATA[2022-02-23T22:38:56.530Z] invalid character '<' looking for beginning of value
This is already implemented in argocd CLI.
As an example, you can see issue #7036.
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered:
cmd.PersistentFlags().BoolVar(&argoServerOpts.HTTP1, "argo-http1", os.Getenv("ARGO_HTTP1") =="true", "If true, use the HTTP client. Defaults to the ARGO_HTTP1 environment variable.")
Summary
Add support for setting custom HTTP headers to
argo
CLI, similar toargocd
-H, --header
.Use Cases
When Argo Workflows is configured behind IAP proxy like Cloudflare Access, we need to set a custom header with key
cf-access-token
and the actual token as a value.Otherwise, when we execute
argo list
, we face the following error:This is already implemented in
argocd
CLI.As an example, you can see issue #7036.
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: