Skip to main content

reset-tls

If a bad TLS certificate is uploaded to the KOTS Admin Console or the kotsadm-tls secret is missing, the kots reset-tls command reapplies a default self-signed TLS certificate. For more information about the certificates stored in this secret, see Setting up TLS Certificates in the open source kURL documentation.

Usage

kubectl kots reset-tls [namespace] [flags]
  • Replace [namespace] with the namespace where the Admin Console and your KOTS application resides (required).
  • Provide [flags] according to the table below

This command supports all global flags and also:

FlagTypeDescription
-h, --helpHelp for reset-tls.
-n, --namespacestringThe namespace where the Admin Console is running.
--accept-anonymous-uploadsboolAllow uploading a new certificate prior to authenticating.

Examples

kubectl kots reset-tls sentry-namespace