Difference between revisions of "Kubectl create secret tls"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/
 
  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]]
+
  [[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)
  

Revision as of 13:03, 13 February 2024

Advertising: