fix: create tls secret cert to crt for --cert flag

- Fixed help message for crete tls for --cert flag
- Renamed to "cert" to "crt"

Signed-off-by: Mohammed Yasin <yasindce1998@gmail.com>

Kubernetes-commit: 2203cb7dde8196da4e769d7f7a99918f2c7bb6d3
This commit is contained in:
Mohammed Yasin 2023-12-29 06:19:28 +00:00 committed by Kubernetes Publisher
parent 3731515d71
commit 3e5acb915d
1 changed files with 1 additions and 1 deletions

View File

@ -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