Merge pull request #122523 from yasindce1998/secret-fix
fix: create tls secret cert to crt for --cert flag
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user