Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-641

Quay Operator CR super credentials secret name is not correct

XMLWordPrintable

      Description:
      This is an issue found when performing Quay 3.3 Opearator testing, folowing the doc set Quay Superuser using "superuserCredentialsSecretName", but it was failed to deploy Quay, the reason is the CR property name "superuserCredentialsSecretName" is not correct, checked code the correct name should be "SuperuserCredentialsSecretName", pay attention to the 1st character, it should be uppercase.
      pls update the doc accordingly.

      Quay Operator Image:
      quay.io/quay/quay-rhel8-operator-catalog:1.1.0-6

      Followowing doc: https://github.com/redhat-cop/quay-operator#deploy-a-quay-ecosystem

      Quay quayecosystem definition:
      https://github.com/redhat-cop/quay-operator/blob/v1.1.0-redhat/pkg/apis/redhatcop/v1alpha1/quayecosystem_types.go

      Quay Operator logs:

      {"level":"error","ts":1587956746.4914517,"logger":"controller_quayecosystem","msg":"Secret Validation","Namespace":"quay-enterprise","Name":"superuser","error":"Failed to validate provided secret with required parameters","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/tmp/quay-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/validation.validateSecret\n\t/tmp/quay-operator/pkg/controller/quayecosystem/validation/validate.go:523\ngithub.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/validation.Validate\n\t/tmp/quay-operator/pkg/controller/quayecosystem/validation/validate.go:29\ngithub.com/redhat-cop/quay-operator/pkg/controller/quayecosystem.(*ReconcileQuayEcosystem).Reconcile\n\t/tmp/quay-operator/pkg/controller/quayecosystem/quayecosystem_controller.go:176\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/tmp/quay-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:256\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/tmp/quay-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/tmp/quay-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/tmp/quay-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/tmp/quay-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/tmp/quay-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

        1. quayecosystem_cr_superuser.yaml
          0.5 kB
          luffy zhang
        2. quayecosystem_cr_superuser1_configuser.yaml
          0.5 kB
          luffy zhang
        3. quayecosystem_cr_superuser2.yaml
          0.5 kB
          luffy zhang
        4. quayecosystem_cr_superuser3.yaml
          0.5 kB
          luffy zhang
        5. quayecosystem_cr_superuser3.yaml
          0.5 kB
          luffy zhang
        6. screenshot-1.png
          345 kB
          luffy zhang

              kmullins@redhat.com Kurtis Mullins (Inactive)
              lzha1981 luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: