Unreleased (main)
These are the development docs; they can describe changes no release has yet.
ichor auth kubeconfig
Download your own kubeconfig (it holds no secret: it runs ichor auth token)
Synopsis
Asks ichor-ui for a kubeconfig for the signed-in user and writes it (mode 0600).
The file has the API server address, the cluster CA certificate and an exec
block that runs ichor auth token; there is nothing secret in it. With --ca-file the
exec block carries the same --ca-file so kubectl trusts the issuer's private CA.
ichor auth kubeconfig [flags]
Options
-h, --help help for kubeconfig
--out string file to write ("-" for stdout); default: the file name ichor-ui suggests, in the current directory
Options inherited from parent commands
--audience ichor auth login token audience: ichor-kube (the kube-apiserver, default; ichor auth login once lets kubectl run without a terminal) or ichor-ui (ichor-ui itself) (default "ichor-kube")
--bundle-passphrase-file string file holding the passphrase of the local secrets bundle; any readable path, e.g. /dev/fd/3; otherwise $ICHOR_BUNDLE_PASSPHRASE, then a prompt on a terminal. Never a value on the command line
--ca-file string PEM file of the CA that signed the issuer's TLS certificate, added to the system roots (env ICHOR_CA_FILE)
--client-id string OIDC client id (default "ichor-cli")
--issuer string Ichor OIDC issuer URL, the external https URL of ichor-ui (required; env ICHOR_ISSUER)
--kubeconfig string path to the kubeconfig for the cluster's Kubernetes API; defaults to $KUBECONFIG, then ~/.kube/config
-o, --output string output format: "yaml" or "json" for scripts; by default a command prints for people (commands without a human view print YAML)
--talosconfig string path to the talosconfig used to reach each node's Talos API; defaults to $TALOSCONFIG, then ~/.talos/config
--yes skip interactive confirmation before a dangerous operation
SEE ALSO
- ichor auth - Log in to Ichor's OIDC issuer and act as a kubectl credential plugin