mirror of https://github.com/knative/client.git
Fix channel create example with inbuilt alias for imcv1beta1 (#1005)
use `imcv1beta1` alias reference in the example
This commit is contained in:
parent
e7b74a9863
commit
78ef3bb3f0
|
|
@ -17,8 +17,8 @@ kn channel create NAME
|
|||
# Create a channel 'pipe' with default setting for channel configuration
|
||||
kn channel create pipe
|
||||
|
||||
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imc'
|
||||
kn channel create imc1 --type imc
|
||||
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imcv1beta1'
|
||||
kn channel create imc1 --type imcv1beta1
|
||||
# same as above without using inbuilt alias but providing explicit GVK
|
||||
kn channel create imc1 --type messaging.knative.dev:v1beta1:InMemoryChannel
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ func NewChannelCreateCommand(p *commands.KnParams) *cobra.Command {
|
|||
# Create a channel 'pipe' with default setting for channel configuration
|
||||
kn channel create pipe
|
||||
|
||||
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imc'
|
||||
kn channel create imc1 --type imc
|
||||
# Create a channel 'imc1' of type InMemoryChannel using inbuilt alias 'imcv1beta1'
|
||||
kn channel create imc1 --type imcv1beta1
|
||||
# same as above without using inbuilt alias but providing explicit GVK
|
||||
kn channel create imc1 --type messaging.knative.dev:v1beta1:InMemoryChannel
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue