Section Number and Name:
Building a Go-based Operator using the Operator SDK
Describe the issue:
For 4.6, the operator-sdk version is v.0.19.x, But, it doesn't support the Golang type.
[root@preserve-olm-env example-inc]# operator-sdk version
operator-sdk version: "v0.19.4-5-gef0bc88", commit: "ef0bc885e40e6c86c0c079bea612b4eb908f6ec5", kubernetes version: "v1.18.2", go version: "go1.14 linux/amd64"
[root@preserve-olm-env example-inc]# operator-sdk new memcached-operator
Error: required flag(s) "type" not set
--type string Type of operator to initialize (choices: "ansible" or "helm")
FATA required flag(s) "type" not set
Suggestions for improvement:
We can use the Helm or the Ansible type instead, or still use the Golang type by using the "operator-sdk init", but the following steps are need to be updates bigly. You can refer to the steps for Golang type: https://v0-19-x.sdk.operatorframework.io/docs/golang/quickstart/