-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
quay-v3.5.7
-
False
-
False
-
-
0
Description of problem:
After deploying quay 3.5.7 by Red Hat Quay operator in Openshift, can not find `configEditorCredentialsSecret` field in QuayRegistry
How reproducible:
always
Steps to Reproduce:
1. Created namespace quay-enterprise in openshift web console
2. Deployed Red Hat Quay operator in namespace quay-enterprise, channel is quay-v3.5
3. Created secret config-bundle-secret
$ cat config.yaml DISTRIBUTED_STORAGE_DEFAULT_LOCATIONS: - default DISTRIBUTED_STORAGE_PREFERENCE: - default DISTRIBUTED_STORAGE_CONFIG: default: - S3Storage - s3_bucket: whu.aws.s3.test25 storage_path: /quaydata s3_access_key: AKI.....IAK s3_secret_key: Xui......lE3ko host: s3.us-east-2.amazonaws.com SUPER_USERS: - whuquay $ oc create secret generic --from-file config.yaml=./config.yaml config-bundle-secret
4. create QuayRegistry
$ oc get QuayRegistry quayregistry -o yaml -n quay-enterprise ........ spec: components: - kind: postgres managed: true - kind: objectstorage managed: false - kind: redis managed: true - kind: horizontalpodautoscaler managed: true - kind: route managed: true - kind: mirror managed: true - kind: monitoring managed: false - kind: clair managed: true configBundleSecret: config-bundle-secret
5 After all pods were running, to find config editor credentials secret in QuayRegistry
$ oc get quayregistry quayregistry -n quay-enterprise -o jsonpath='{.status.configEditorCredentialsSecret}'
$
Actual results:
Could not find .status.configEditorCredentialsSecret field in QuayRegistry.
Expected results:
Can find ".status.configEditorCredentialsSecret" field in QuayRegistry.
Additional info:
This issue can be reproduced with all managed components.
$ oc get pod -n quay-enterprise NAME READY STATUS RESTARTS AGE quay-operator.v3.5.7-7778c77dcb-dmkg8 1/1 Running 0 5h53m quayregistry-clair-app-7ddb698986-4b7l4 1/1 Running 0 5h42m quayregistry-clair-postgres-58ccdd9f55-n5pd2 1/1 Running 0 5h41m quayregistry-quay-app-7b8d4c966c-hn82d 1/1 Running 2 5h42m quayregistry-quay-app-upgrade-ph2q8 0/1 Completed 0 5h42m quayregistry-quay-config-editor-64c474f9fd-m999d 1/1 Running 0 5h42m quayregistry-quay-database-cf996754c-jz6wj 1/1 Running 0 5h42m quayregistry-quay-mirror-7f5d4b4989-kt8z8 1/1 Running 0 5h41m quayregistry-quay-postgres-init-8pvwg 0/1 Completed 0 5h42m quayregistry-quay-redis-9f765957b-5dmqk 1/1 Running 0 5h42m $ oc get quayregistry quayregistry -o yaml -n quay-enterprise apiVersion: quay.redhat.com/v1 kind: QuayRegistry metadata: creationTimestamp: "2021-10-09T03:39:56Z" finalizers: - quay-operator/finalizer generation: 2 name: quayregistry namespace: quay-enterprise resourceVersion: "43234" uid: 8fff3c18-284d-4610-837a-a5e31f341d84 spec: components: - kind: postgres managed: true - kind: objectstorage managed: false - kind: redis managed: true - kind: horizontalpodautoscaler managed: true - kind: route managed: true - kind: mirror managed: true - kind: monitoring managed: false - kind: clair managed: true configBundleSecret: config-bundle-secret status: configEditorEndpoint: https://quayregistry-quay-config-editor-quay-enterprise.apps.whu48aws8.qe.devcluster.openshift.com currentVersion: 3.5.7 lastUpdated: 2021-10-09 03:41:14.600156794 +0000 UTC registryEndpoint: https://quayregistry-quay-quay-enterprise.apps.whu48aws8.qe.devcluster.openshift.com $ oc get secret -n quay-enterprise |grep -i editor quayregistry-quay-config-editor-credentials-8fbck6f89k Opaque 2 5h16m quayregistry-quay-config-editor-credentials-mh92fmh95c Opaque 2 5h17m $ oc get secret quayregistry-quay-config-editor-credentials-8fbck6f89k -o yaml apiVersion: v1 data: password: eF......== username: cX......w== kind: Secret metadata: annotations: quay-buildmanager-hostname: "" quay-managed-fieldgroups: Database,Redis,HostSettings,RepoMirror,SecurityScanner quay-operator-service-endpoint: http://quay-operator.quay-enterprise:7071 quay-registry-hostname: quayregistry-quay-quay-enterprise.apps.whu48aws8.qe.devcluster.openshift.com creationTimestamp: "2021-10-09T03:41:14Z" labels: quay-operator/quayregistry: quayregistry name: quayregistry-quay-config-editor-credentials-8fbck6f89k namespace: quay-enterprise ownerReferences: - apiVersion: quay.redhat.com/v1 kind: QuayRegistry name: quayregistry uid: 8fff3c18-284d-4610-837a-a5e31f341d84 resourceVersion: "43218" uid: c9c89ae2-c394-4a59-926f-3aa7048ff298 type: Opaque