Closed jonathon2nd closed 2 years ago
Confirm. Same if you are trying to kubectl it.
# kubectl apply -f crd.yaml
The CustomResourceDefinition "redisfailovers.databases.spotahome.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
But kubectl create is working.
Is this something that can be fixed?
You can use --server-side apply. https://argo-cd.readthedocs.io/en/latest/user-guide/sync-options/#server-side-apply
That did not work either
ArgoCD version ?
v2.4.12
Was able to apply with kubectl.
Since the helm can not upgrade the crd anyway, how about having a value in helm to exclude it (and have that default)? Has to be manually managed anyway.
If ` syncOptions:
didn't work you can try
syncOptions:That worked.
Nice 👍
Confirm. Same if you are trying to kubectl it.
# kubectl apply -f crd.yaml The CustomResourceDefinition "redisfailovers.databases.spotahome.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
try with kubectl apply --server-side -f crd.yaml
Expected behaviour
Installation of operator
Actual behaviour
Installation fails
Steps to reproduce the behaviour
Install with
monitoring.enabled
andmonitoring.serviceMonitor
enabledEnvironment
How are the pieces configured?
Installing with Argo, which just uses helm chart and values.
Logs