-
Bug
-
Resolution: Done
-
Major
-
quay-v3.3.0
-
None
Description of problem:
Should use image digest in setup operator deployment in order to support in disconnected mode. Please refer to https://access.redhat.com/articles/4740011
Version-Release number of selected component (if applicable):
quay.io/quay/quay-rhel8-operator:1.1.0-1
quay.io/quay/quay-rhel8-operator-catalog:1.1.0-6
How reproducible:
Always
Steps to Reproduce:
1.Create catalogsource on OCP
2.Install setup operator
3.Check operator deployment
Actual results:
Use image tag in deployment
Expected results:
Use image digest
Additional info:
$ oc get deployment quay-operator -n quay322 -o yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" creationTimestamp: "2020-04-25T07:13:43Z" generation: 1 labels: olm.owner: quay-operator.v1.1.0 olm.owner.kind: ClusterServiceVersion olm.owner.namespace: quay322 name: quay-operator namespace: quay322 ownerReferences: - apiVersion: operators.coreos.com/v1alpha1 blockOwnerDeletion: false controller: false kind: ClusterServiceVersion name: quay-operator.v1.1.0 uid: c05a8ebf-a612-4daa-bd88-ae354b9f15c1 resourceVersion: "49221" selfLink: /apis/extensions/v1beta1/namespaces/quay322/deployments/quay-operator uid: 5582e61a-f854-440b-892a-f86d12264ddc spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: name: quay-operator strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: alm-examples: |- [ { "apiVersion": "redhatcop.redhat.io/v1alpha1", "kind": "QuayEcosystem", "metadata": { "name": "example-quayecosystem" }, "spec": { "quay": { "imagePullSecretName": "redhat-pull-secret" } } }, { "apiVersion": "redhatcop.redhat.io/v1alpha1", "kind": "QuayEcosystem", "metadata": { "name": "example-quayecosystem" }, "spec": { "quay": { "imagePullSecretName": "redhat-pull-secret", "superuserCredentialsSecretName": "\u003csecret_name\u003e" } } }, { "apiVersion": "redhatcop.redhat.io/v1alpha1", "kind": "QuayEcosystem", "metadata": { "name": "example-quayecosystem" }, "spec": { "clair": { "enabled": true, "imagePullSecretName": "redhat-pull-secret", "updateInterval": "60m" }, "quay": { "configHostname": "example-quayecosystem-quay-enterprise.apps", "configSecretName": "quay-config-app", "database": { "credentialsSecretName": "quay-database-credential", "volumeSize": "10Gi" }, "deploymentStrategy": "RollingUpdate", "envVars": [ { "name": "DEBUGLOG", "value": "true" } ], "imagePullSecretName": "redhat-pull-secret", "registryStorage": { "persistentVolumeAccessMode": [ "ReadWriteOnce" ], "persistentVolumeSize": "10Gi", "persistentVolumeStorageClassName": "quay-storageclass" }, "resources": { "requests": { "memory": "1000Mi" } }, "skipSetup": false, "superuserCredentialsSecretName": "quay-super-user" }, "redis": { "credentialsSecretName": "quay-redis-password", "imagePullSecretName": "redhat-pull-secret" } } } ] capabilities: Basic Install categories: Integration & Delivery certified: "false" containerImage: quay.io/quay/quay-rhel8-operator:1.1.0-1 createdAt: "2020-04-22" description: Red Hat® Quay is a private container registry that stores, builds, and deploys container images. olm.operatorGroup: quay322-n8w9t olm.operatorNamespace: quay322 olm.targetNamespaces: quay322 repository: https://github.com/redhat-cop/quay-operator support: Red Hat Community of Practice creationTimestamp: null labels: name: quay-operator spec: containers: - command: - quay-operator env: - name: WATCH_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.annotations['olm.targetNamespaces'] - name: POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: OPERATOR_NAME value: quay-operator image: quay.io/quay/quay-rhel8-operator:1.1.0-1 imagePullPolicy: Always name: quay-operator resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} serviceAccount: quay-operator serviceAccountName: quay-operator terminationGracePeriodSeconds: 30 status: availableReplicas: 1 conditions: - lastTransitionTime: "2020-04-25T07:13:53Z" lastUpdateTime: "2020-04-25T07:13:53Z" message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2020-04-25T07:13:43Z" lastUpdateTime: "2020-04-25T07:13:53Z" message: ReplicaSet "quay-operator-655889f8f6" has successfully progressed. reason: NewReplicaSetAvailable status: "True" type: Progressing observedGeneration: 1 readyReplicas: 1 replicas: 1 updatedReplicas: 1