-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.3 CD
-
None
If there user creates cache-x in cluster-a and the same cache-x in cluster-b then webhook will prohibit creating creating Cache CR for cache-x in cluster-b as Cache CR with the spec.Name: cache-x already exists.
2022-07-14T12:57:47.903Z ERROR Error encountered for event 'create-cache': unable to create Cache CR for cache 'name-collision': admission webhook "vcache.kb.io" denied the request: Cache.infinispan.org "name-collision-jv48f" is invalid: spec.name: Duplicate value: "Cache CR already exists with spec.Name 'name-collision'" github.com/infinispan/infinispan-operator/launcher/listener.New.func3.1 /root/go/src/github.com/infinispan/infinispan-operator/launcher/listener/listener.go:140 github.com/r3labs/sse/v2.(*Client).SubscribeWithContext.func1 /root/go/src/github.com/infinispan/infinispan-operator/vendor/github.com/r3labs/sse/v2/client.go:91 gopkg.in/cenkalti/backoff%2ev1.RetryNotify /root/go/src/github.com/infinispan/infinispan-operator/vendor/gopkg.in/cenkalti/backoff.v1/retry.go:37 github.com/r3labs/sse/v2.(*Client).SubscribeWithContext /root/go/src/github.com/infinispan/infinispan-operator/vendor/github.com/r3labs/sse/v2/client.go:99 github.com/r3labs/sse/v2.(*Client).SubscribeRawWithContext /root/go/src/github.com/infinispan/infinispan-operator/vendor/github.com/r3labs/sse/v2/client.go:231 github.com/infinispan/infinispan-operator/launcher/listener.New.func3 /root/go/src/github.com/infinispan/infinispan-operator/launcher/listener/listener.go:129
- links to