Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2956

ephemeralVolume should have a default false value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.0
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            justin.ashworth Justin Ashworth
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty