Post

Create a secret containing a TLS certificate

Example code to create a secret in namespace lab containing a certificate to be used with an ingress for example.

kubectl -n lab create secret tls tls-icp-cert-com --cert=cert.pem --key=cert.key

This post is licensed under CC BY 4.0 by the author.