mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
Merge pull request #122523 from yasindce1998/secret-fix
fix: create tls secret cert to crt for --cert flag
This commit is contained in:
commit
1e136ef8a0
@ -46,7 +46,7 @@ var (
|
|||||||
|
|
||||||
secretForTLSExample = templates.Examples(i18n.T(`
|
secretForTLSExample = templates.Examples(i18n.T(`
|
||||||
# Create a new TLS secret named tls-secret with the given key pair
|
# Create a new TLS secret named tls-secret with the given key pair
|
||||||
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.crt --key=path/to/tls.key`))
|
||||||
)
|
)
|
||||||
|
|
||||||
// CreateSecretTLSOptions holds the options for 'create secret tls' sub command
|
// CreateSecretTLSOptions holds the options for 'create secret tls' sub command
|
||||||
|
Loading…
Reference in New Issue
Block a user