details :
- kubectl version = 1.25
- velero version = v1.4.2
- plugins velero/velero-plugin-for-gcp:v1.1.0
on trying to install velero , getting following errors :
CustomResourceDefinition/backups.velero.io: attempting to create resource
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: the server could not find the requested resource**
I tried installing velero using the following commands :
velero install
--provider gcp
--plugins velero/velero-plugin-for-gcp:v1.2.0
--bucket
--secret-file ./app-default-cred.json
I am also confused on how to specify the serviceaccount for gcp under --secret-file. Currently , i am using the serviceaccount json file.