I'm having the following issue installing Valero via the Velero CLI to and AWS Kubernetes cluster.
velero install \
--provider aws \
--bucket $BUCKET \
--secret-file ./credentials-velero \ --use-restic --wait \
--plugins velero/velero-plugin-for-aws:v1.0.0
The install fails, with the result:
An error occurred:
Error installing Velero. Use `kubectl logs deploy/velero -n velero` to check the deploy logs: Error creating resource CustomResourceDefinition/backups.velero.io: CustomResourceDefinition.apiextensions.k8s.io "backups.velero.io" is invalid: [spec.validation.openAPIV3Schema.properties[spec].properties[labelSelector].properties[matchLabels].additionalProperties: Forbidden: additionalProperties cannot be set to false, spec.validation.openAPIV3Schema.properties[spec].properties[hooks].properties[resources].items.properties[labelSelector].properties[matchLabels].additionalProperties: Forbidden: additionalProperties cannot be set to false]--
The only references to additionalProperties are nested deep in generated .yaml files, in this case the one for backups. I have no idea how this string value is being illegally set to false, but it's not a result of the flags I'm using as far as I can tell.