Skip to content

Karina kubeconfig admin

karina kubeconfig admin

Generate a new kubeconfig file for accessing the cluster using an X509 Certificate

karina kubeconfig admin [flags]

Options

      --expiry duration   Validity in days of the certificate (default 168h0m0s)
      --group string      The OU (group name) to use in the certificate (default "system:masters")
  -h, --help              help for admin
      --name string       The name to use in the certificate (default "kubernetes-admin")

Options inherited from parent commands

  -c, --config stringArray   Path to config file (default [karina.yml])
      --dry-run              Don't apply any changes, print what would have been done
  -e, --extra stringArray    Extra arguments to apply e.g. -e ldap.domain=example.com
      --in-cluster           Use in cluster kubernetes config
      --kubeconfig string    Specify a kubeconfig to use, if empty a new kubeconfig is generated from master CA's at runtime
  -v, --loglevel count       Increase logging level
      --prune                Delete previously enabled resources (default true)
      --skip-decrypt         Skip any phases requiring decryption
      --trace                Print out generated specs and configs

SEE ALSO

Auto generated by spf13/cobra on 17-May-2022