-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.3.0
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"}