Merge pull request #122523 from yasindce1998/secret-fix

fix: create tls secret cert to crt for --cert flag
This commit is contained in:
Kubernetes Prow Robot 2024-01-18 09:52:36 +01:00 committed by GitHub
commit 1e136ef8a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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