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:
Flag | Type | Description |
---|---|---|
-h, --help | Help for reset-tls . | |
-n, --namespace | string | The namespace where the Admin Console is running. |
--accept-anonymous-uploads | bool | Allow uploading a new certificate prior to authenticating. |
Examples
kubectl kots reset-tls sentry-namespace