Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
9 - Krakend
-
1
Description
When trying to apply the backup yaml from the documentation, the following error is thrown:
error: error validating "backup-example.yaml": error validating data: ValidationError(CouchbaseBackup.spec): missing required field "ephemeralVolume" in com.couchbase.v2.CouchbaseBackup.spec; if you choose to ignore these errors, turn validation off with --validate=false |
Steps to reproduce:
For a Couchbase cluster with a backup set in its spec:
kubectl -f apply backup.yaml
backup.yaml:
apiVersion: couchbase.com/v2
kind: CouchbaseBackup
metadata:
name: my-backup
spec:
strategy: full_incremental
full:
schedule: "0 3 * * 0"
incremental:
schedule: "0 3 * * 1-6"
size: 20Gi
Attachments
For Gerrit Dashboard: K8S-2956 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
184979,2 | K8S-2956 - Updated defaults on CouchbaseBackups | 2.4.x | couchbase-operator | Status: MERGED | +2 | +1 |
185534,2 | K8S-2956 - Updated defaults on CouchbaseBackups | master | couchbase-operator | Status: MERGED | +2 | +1 |