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

Backup Service Account does not have a default.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • operator
    • None
    • 1: Recovery to productivity, 3: SBEE, Multi-Cert
    • 1

    Description

      https://docs.couchbase.com/operator/current/howto-backup.html#enable-automated-backup states 

      "If left unspecified, couchbaseclusters.spec.backup.serviceAccountName will default to the value of couchbase-backup." 

      This doesn't appear to be the case anymore. Simple fix in types.go should fix the crd!

       

      Attachments

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

        Activity

          Default value set with the fix.

          spec:
            autoResourceAllocation:
              cpuLimits: "4"
              cpuRequests: 500m
              enabled: true
              overheadPercent: 25
            backup:
              image: registry.gitlab.com/cb-vanilla/operator-backup:1.3.0-100
              imagePullSecrets:
              - name: test-docker-pull-secret-hrxgz
              - name: test-docker-pull-secret-ghb98
              managed: true
              serviceAccountName: couchbase-backup
            buckets:
              managed: true
            cluster:
              analyticsServiceMemoryQuota: 1Gi
              autoCompaction:
                databaseFragmentationThreshold:
                  percent: 30
                timeWindow: {}
                tombstonePurgeInterval: 72h0m0s
                viewFragmentationThreshold:
                  percent: 30
              autoFailoverMaxCount: 3
              autoFailoverOnDataDiskIssuesTimePeriod: 2m0s
              autoFailoverTimeout: 30s
              dataServiceMemoryQuota: 256Mi
              eventingServiceMemoryQuota: 256Mi
              indexServiceMemoryQuota: 256Mi
              indexStorageSetting: memory_optimized
              searchServiceMemoryQuota: 256Mi
            image: couchbase/server:7.0.3 

          prateek.kumar Prateek Kumar (Inactive) added a comment - Default value set with the fix. spec:   autoResourceAllocation:     cpuLimits: "4"     cpuRequests: 500m     enabled: true     overheadPercent: 25   backup:     image: registry.gitlab.com/cb-vanilla/operator-backup: 1.3 . 0 - 100     imagePullSecrets:     - name: test-docker-pull-secret-hrxgz     - name: test-docker-pull-secret-ghb98     managed: true     serviceAccountName: couchbase-backup   buckets:     managed: true   cluster:     analyticsServiceMemoryQuota: 1Gi     autoCompaction:       databaseFragmentationThreshold:         percent: 30       timeWindow: {}       tombstonePurgeInterval: 72h0m0s       viewFragmentationThreshold:         percent: 30     autoFailoverMaxCount: 3     autoFailoverOnDataDiskIssuesTimePeriod: 2m0s     autoFailoverTimeout: 30s     dataServiceMemoryQuota: 256Mi     eventingServiceMemoryQuota: 256Mi     indexServiceMemoryQuota: 256Mi     indexStorageSetting: memory_optimized     searchServiceMemoryQuota: 256Mi   image: couchbase/server: 7.0 . 3

          Prateek Kumar Please verify and close this issue

          arunkumar Arunkumar Senthilnathan (Inactive) added a comment - Prateek Kumar Please verify and close this issue

          Build couchbase-operator-2.3.0-241 contains couchbase-operator commit 84dbe6a with commit message:
          K8S-2553: Added default user for backup

          build-team Couchbase Build Team added a comment - Build couchbase-operator-2.3.0-241 contains couchbase-operator commit 84dbe6a with commit message: K8S-2553 : Added default user for backup

          People

            prateek.kumar Prateek Kumar (Inactive)
            Alex.emery Alex Emery
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty