Client TLS
Not a bug report. This is regarding closed ticket: https://github.com/GoogleContainerTools/kaniko/issues/1106/.
Looking at the related code: https://github.com/GoogleContainerTools/kaniko/blob/1395e4682f80bf4286513392220597dcca60ce1c/pkg/util/transport_util.go#L77
The --registry-certificate flag enables one to provide a root CA to validate the remote registry's server certificate.
In the case where the remote registry supports authorizing a client to push based on the client's certificate (e.g. via the certificate's distinguished name), this would require kaniko to support something like --client-certificate-path=/path/to/my-npe-cert-and-key (for example).
Has there been any consideration to implementing such a feature?
Thank you.
I am also interested in a solution to this problem
I had a go at this in #2180, I'm using my own image to perform mTLS authentication with kaniko.