-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
error: SchemaError(io.velero.v1.Restore.spec.hooks.resources.postHooks.init.initContainers): array should have exactly one sub-item #6382
Comments
The same issues in different env Installed Velero using the following command velero install --provider aws --plugins velero/velero-plugin-for-aws:v1.6.2,velero/velero-plugin-for-csi:v0.4.3 --bucket velero --prefix prefix-path --cacert ./cacrt --use-volume-snapshots=false --backup-location-config publicUrl=https://minio,region=minio,s3ForcePathStyle="true",s3Url=https://minio --secret-file ./secret --image velero/velero:v1.10.3 then I needed to update the deployment, but "edit deployment" got the same error message described above might be a "kubectl" issue |
Did you upgrade CRD before upgrading velero deployments? |
Hello! My workaround
Next sync will fail again... |
I confirm the same problem with k8s v1.21.5 and helm 4.1.0 |
I have same problem. k8s v1.25.0 and helm 4.4.1 |
It's a Helm chart issue, not Velero itself. |
see: elastic/cloud-on-k8s#4737 (comment) this work for me:
|
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands. |
This issue was closed because it has been stalled for 14 days with no activity. |
name: [Bug report](error: SchemaError(io.velero.v1.Restore.spec.hooks.resources.postHooks.init.initContainers): array should have exactly one sub-item).
about: We have a k8s(version 1.18) cluster with magnum on openstack. As per the Velero documentation latest version of Velero is compatible with k8s version 1.18. I deployed Velero successfully with the helm charts (Chart version: velero-4.0.3 and App version: 1.11.0) with storage location as minio(chart version -8.0.10 and app version latest) and was able to back up the k8s resources. But the other applications' new deployment or upgrading Velero with new values and other applications is failing with the following error:
error: SchemaError(io.velero.v1.Restore.spec.hooks.resources.postHooks.init.initContainers): array should have exactly one sub-item
I am getting the same error even if i use velero-plugin-for-aws or velero-plugin-for-csi alone.
and folllowing is helm chart install command:
installation of velero helm charts (Chart version: velero-4.0.3 and App version: 1.11.0) with minio(chart version -8.0.10 and app version latest) on docker-desktop k8s latest version works well.
The text was updated successfully, but these errors were encountered: