Difference between revisions of "Kubectl create secret tls"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
kubectl create secret tls tls-secret --cert=path/to/tls[[.cert]] --key=path/to/tls[[.key]] | kubectl create secret tls tls-secret --cert=path/to/tls[[.cert]] --key=path/to/tls[[.key]] | ||
− | + | tls.cert should be [[.PEM]] encoded | |
== Related == | == Related == |
Revision as of 12:58, 13 February 2024
https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/
kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/to/tls.key tls.cert should be .PEM encoded
Related
See also
kubectl create secret [ docker-registry | generic | tls | --help ]
Advertising: