You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 21, 2020. It is now read-only.
$ operator-sdk new memcached-operator
Create cmd/manager/main.go
Create build/Dockerfile
Create deploy/service_account.yaml
Create deploy/role.yaml
Create deploy/role_binding.yaml
Create deploy/operator.yaml
Create pkg/apis/apis.go
Create pkg/controller/controller.go
Create version/version.go
Create .gitignore
Create Gopkg.toml
Run dep ensure ...
[snip]
Run dep ensure done
Run git init ...
Initialized empty Git repository in /home/jroper/go/src/github.com/jroper/memcached-operator/.git/
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Run git init done
$ cd memcached-operator
At this point, there's no pkg/apis/cache/v1alpha1/memcached_types.go file, though the guide implies there should be one. I try running the generate step:
$ operator-sdk generate k8s
Running code-generation for custom resource group versions: []
2018/11/12 14:22:26 failed to perform code-generation: (exit status 255)
Then I try creating pkg/apis/cache/v1alpha1/memcached_types.go with the contents specified by the guide, and I get:
$ operator-sdk generate k8s
Running code-generation for custom resource group versions: [cache:v1alpha1, ]
2018/11/12 14:25:09 failed to perform code-generation: (exit status 255)
I wish I could provide more information or work out the problem myself, but with exit status 255 being the only information about the error, I don't have much to go off. Is there a verbose mode?