fix: create secret tls certificate name extension
- In kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/to/tls.key - The --cert=path/to/tls.cert changed to --cert=path/to/tls.crt in help message Signed-off-by: Mohammed Yasin <yasindce1998@gmail.com>
This commit is contained in:
parent
da83f8c3d7
commit
90edbccd9f
|
|
@ -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