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.
Upon following the instructions to build the docker image for the memcached-operator I get the following error.
$ operator-sdk build quay.io/example/memcached-operator:v0.0.1
Error: failed to build: (building memcached-operator...
# github.com/example-inc/memcached-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json
vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go:104:16: unknown field 'CaseSensitive'in struct literal of type jsoniter.Config
# github.com/example-inc/memcached-operator/vendor/k8s.io/client-go/util/workqueue
vendor/k8s.io/client-go/util/workqueue/delaying_queue.go:48:25: clock.Tick undefined (type clock.Clock has no field or method Tick)
)
After taking a look at the Gopkg.lock, it contains an older version of json-iterator.
[[projects]]
name = "github.com/json-iterator/go"
packages = ["."]
revision = "ca39e5af3ece67bbcda3d0f4f56a8e24d9f2dad4"
version = "1.1.3"
Unfortunately, version 1.1.3 doesn't have the case sensitive stuff. I suggest upgrading it to the latest version which currently contains some fixes for case sensitivity.