Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

CSV resources status was not updated after creating some required resources #44

Closed
@gyliu513

Description

@gyliu513

I followed the document at https://github.com/operator-framework/getting-started/blob/master/README.md#deploy-the-operator to deploy the CSV resource, the steps are as follows:

  1. Create the CSV first, but due to some required resources missing, the CSV keeps pending.
root@gyliu-dev1:~/test# kubectl get ClusterServiceVersion memcachedoperator.v0.0.1 -o json | jq '.status'
{
  "certsLastUpdated": null,
  "certsRotateAt": null,
  "conditions": [
    {
      "lastTransitionTime": "2019-08-19T06:53:50Z",
      "lastUpdateTime": "2019-08-19T06:53:50Z",
      "message": "requirements not yet checked",
      "phase": "Pending",
      "reason": "RequirementsUnknown"
    },
    {
      "lastTransitionTime": "2019-08-19T06:53:50Z",
      "lastUpdateTime": "2019-08-19T06:53:50Z",
      "message": "one or more requirements couldn't be found",
      "phase": "Pending",
      "reason": "RequirementsNotMet"
    }
  ],
  "lastTransitionTime": "2019-08-19T06:53:50Z",
  "lastUpdateTime": "2019-08-19T06:53:50Z",
  "message": "one or more requirements couldn't be found",
  "phase": "Pending",
  "reason": "RequirementsNotMet",
  "requirementStatus": [
    {
      "group": "operators.coreos.com",
      "kind": "ClusterServiceVersion",
      "message": "CSV missing minimum kube version specification",
      "name": "memcachedoperator.v0.0.1",
      "status": "NotPresent",
      "version": "v1alpha1"
    },
    {
      "group": "apiextensions.k8s.io",
      "kind": "CustomResourceDefinition",
      "message": "CRD is not present",
      "name": "memcacheds.cache.example.com",
      "status": "NotPresent",
      "version": "v1beta1"
    },
    {
      "group": "",
      "kind": "ServiceAccount",
      "message": "Service account does not exist",
      "name": "memcached-operator",
      "status": "NotPresent",
      "version": "v1"
    }
  ]
}
  1. Then I create the required CRD, SA etc, but the CVS status was not updated, and it keeps in above status.

Metadata

Metadata

Labels

triage/supportIndicates an issue that is a support question.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions