-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated static pkg/utils/kube/scheme/parser.go
causing field not declared in schema
errors in ArgoCD
#558
Comments
pkg/utils/kube/scheme/parser.go
causing field not declared in schema
errorspkg/utils/kube/scheme/parser.go
causing field not declared in schema
errors in ArgoCD
Any updates on this?
see: |
Hi, have similar issue, but with Jobs |
I'm also currently hitting this with Kyverno latest chart and multiple fields, the only way to make the chart compute without having
|
Hello @wpi86
|
Hi, currently we keep our jobs as argo hooks, in this case argo doesn't try to validate them on sync and it works |
think i got a similar issue with the latest gatekeeper release i got this error even the field is in the scheme k8s 1.28+ helm:
eks 1.28 argo v2.10.1+a79e0ea update
from my argocd configmap |
I also have a problem with a simple job that breaks the complete deployment.
I tried to fix it with ignoreDifferences:
- kind: Job
jqPathExpressions:
- .spec.podReplacementPolicy
- .status.terminating without success. Any idea? |
Argo has released a new version that knows this field, the update solved our problem |
@wpi86 thank you, but updating argocd to v2.12.0-rc1 for me does not solve the problem with the job, maybe it's additionally due to using server-side-apply (argoproj/argo-cd#17358)
|
The only difference I notice is ignoring field managers in argocd-cm produces 2 errors (
Removing the filed managers ignore rules from argocd-cd produces 1 error (
|
I'm having the same problem with other fields.
|
I've updated the static schema to 0.29. Please try Argo CD 2.12.0-rc3. #588 |
I've had two cases of sync errors in ArgoCD:
For
CSIDriver
:For
Pod
with native sidecar containers and the field.spec.initContainers.restartPolicy
:After digging around in the code I think the problem might be that the static inlined schema here is outdated and is missing those fields.
Here is a related ArgoCD issue for the
CSIDriver
problem.Kubernetes version: v1.28.4 with the
SidecarContainers
feature gate enabledArgoCD version: v2.9.3
The text was updated successfully, but these errors were encountered: