Difference between revisions of "Kubectl create secret tls"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[kubectl create secret tls tls-secret]] -n yournamespace --cert=./tls[[.cert]] --key=./tls[[.key]] | [[kubectl create secret tls tls-secret]] -n yournamespace --cert=./tls[[.cert]] --key=./tls[[.key]] | ||
(tls.cert should be [[.PEM]] encoded) | (tls.cert should be [[.PEM]] encoded) | ||
+ | |||
+ | |||
+ | kubectl create secret tls server | ||
== Related == | == Related == |
Revision as of 16:47, 13 February 2024
https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/
kubectl create secret tls tls-secret -n yournamespace --cert=./tls.cert --key=./tls.key (tls.cert should be .PEM encoded)
kubectl create secret tls server
Related
kubernetes.io/tls
- Create new x509 certificate: openssl req -x509 -newkey
helm install grafana
,ingress.tls
See also
kubectl create secret [ docker-registry | generic | tls | --help ]
Advertising: