Difference between revisions of "Kubectl create secret tls server"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  kubectl create secret tls server  
+
  kubectl create secret tls server -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)
 
  
 
  [[kubectl create secret]]
 
  [[kubectl create secret]]

Revision as of 16:49, 13 February 2024

kubectl create secret tls server -n yournamespace --cert=./tls.cert --key=./tls.key



kubectl create secret


kubectl create secret [ docker-registry | generic | tls | --help ]

Advertising: