cert-operator icon indicating copy to clipboard operation
cert-operator copied to clipboard

Explicitly fail cert on service when secret is not of type TLS

Open AdlerFleurant opened this issue 5 years ago • 0 comments

Secrets type cannot be change when a cert is requested on a passthrough, if a secret already exist and isn't of type TLS. The service secret cannot be set. The cert operator will fail and will retry in loop to set a new cert on the service.

The solution that will be applied is to check for the secret type if it exist and if it's not of type TLS mark the service cert request as failed.

AdlerFleurant avatar Jul 15 '19 13:07 AdlerFleurant