You can replace a certificate in a deployed namespace.
-
Obtain the new certificate
.crt
and .key
files.
-
Run this command (example):
kubectl create secret tls
cml-tls-secret --cert=<pathtocrt.crt> --key=<pathtokey.key>
-o yaml --dry-run | kubectl -n <cml-workspace-namespace> replace
-f -
The certificate of an existing session does not get renewed. The new
certificate only applies to newly created sessions.