Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClientCert = "certFile" ClientKey = "keyFile" CACert = "caFile" )
These are intended to match the keys used in e.g., https://github.com/fluxcd/flux2/blob/main/cmd/flux/create_secret_helm.go, for consistency (and perhaps this will have its own flux create secret subcommand at some point).
Variables ¶
This section is empty.
Functions ¶
func AuthFromSecret ¶
authFromSecret creates an Authenticator that can be given to the `remote` funcs, from a Kubernetes secret. If the secret doesn't have the right format or data, it returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.