Open borg286 opened 4 months ago
I can create the CRDs, and delete them. But I can't apply them
try to use --server-side
flag
That worked!!! I'll let you decide if you want to update your external docs and then close out this bug or if you want to leave the external docs as is.
k8s version v1.18.19 [root@master bases]# kubectl apply -f redis.redis.opstreelabs.in_redis.yaml --server-side Error from server: failed to convert new object to proper version: unable to convert unstructured object to apiextensions.k8s.io/v1, Kind=CustomResourceDefinition: cannot convert int64 to float64
What version of redis operator are you using?
redis-operator version: 0.15.0
Does this issue reproduce with the latest release? yes
What operating system and processor architecture are you using (
kubectl version
)?Linux. kubectl version "v1.22.3", server version: "v1.24.4+k3s1"
What did you do? Exactly like the getting started docs say: https://ot-container-kit.github.io/redis-operator/guide/installation.html
$ kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/crd/bases/redis.redis.opstreelabs.in_redis.yaml
What did you expect to see? That the crd was applied
What did you see instead?
The CustomResourceDefinition "redis.redis.redis.opstreelabs.in" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
This same issue is seen with the other CRD ( redis.redis.opstreelabs.in_redisclusters.yaml )