run ./create-operator.sh, get the following error :
+ DOCKERHUB_REPO=apacherocketmq/rocketmq-operator:0.3.0-snapshot
+ ROCKETMQ_VERSION=4.5.0
+ export GO111MODULE=on
+ GO111MODULE=on
+ '[' '!' -e build/rocketmq.zip ']'
+ operator-sdk generate k8s
The 'operator-sdk generate' command invokes a specific generator to generate
code or manifests.
Usage:
operator-sdk generate [command]
Available Commands:
bundle Generates bundle data for the operator
kustomize Contains subcommands that generate operator-framework kustomize data for the operator
Flags:
-h, --help help for generate
Global Flags:
--plugins strings plugin keys to be used for this subcommand execution
--verbose Enable verbose logging
Use "operator-sdk generate [command] --help" for more information about a command.
+ operator-sdk generate openapi
The 'operator-sdk generate' command invokes a specific generator to generate
code or manifests.
Usage:
operator-sdk generate [command]
Available Commands:
bundle Generates bundle data for the operator
kustomize Contains subcommands that generate operator-framework kustomize data for the operator
Flags:
-h, --help help for generate
Global Flags:
--plugins strings plugin keys to be used for this subcommand execution
--verbose Enable verbose logging
Use "operator-sdk generate [command] --help" for more information about a command.
+ go mod vendor
+ echo 'Start building RocketMQ-Operator...'
Start building RocketMQ-Operator...
+ operator-sdk build apacherocketmq/rocketmq-operator:0.3.0-snapshot
Error: unknown command "build" for "operator-sdk"
Run 'operator-sdk --help' for usage.
FATA[0000] unknown command "build" for "operator-sdk"
run ./create-operator.sh, get the following error :
extra information: operator sdk version: v1.15.0