Replace a Certificate
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 -