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>
This commit is contained in:
Mohammed Yasin 2023-12-29 06:19:28 +00:00
parent 63eb5028ba
commit 2203cb7dde

View File

@ -46,7 +46,7 @@ var (
secretForTLSExample = templates.Examples(i18n.T(`
# 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