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

cbopctl: Invalid field "spec.VolumeMounts" in error validation output

    XMLWordPrintable

Details

    Description

       

      Scenario: Defining DataClaim without Default volume mount.

      Attaching the file used, validation.yaml for reference.

      yaml server spec without default volume mount defined,

      servers:
          - size: 1
            name: all_services
            services:
              - data
              - index
              - analytics
              - query
              - search
              - eventing
            pod:
              volumeMounts:
                data: couchbase

      cbopctl command output,

      couchbase-operator]$ ./build/bin/cbopctl create -f test/e2e/resources/validation/validation.yaml
      validation failure list:
      default in spec.servers[0].pod.volumeMounts is required
      default in spec.volumeMounts is required. <-- This field does not exists in ClusterSpec struct
       
      couchbase-operator]$ ./build/bin/cbopctl --version
      cbopctl version 1.1.0 (master e901fdccd98ec67330cb81556391d3a2297af628)

       

      Attachments

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

        Activity

          People

            simon.murray Simon Murray
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty