Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7915

Deploying a new tenant custom resource is failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 2.11.0 GA
    • 3scale Operator
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide

      To workaround this issue the tenantSecretRef attribute must be defined in the CRD:

        tenantSecretRef:
          name: {tenantName}-{tenantOrgName}-secret

      or

        tenantSecretRef: {}
      Show
      To workaround this issue the  tenantSecretRef attribute must be defined in the CRD: tenantSecretRef: name: {tenantName}-{tenantOrgName}-secret or tenantSecretRef: {}
    • Hide

      Following are the steps to reproduce the issue.

      1. Login to the project where the APIManager is deployed using oc login and oc project commands.
      2. Make sure to update the required attributes in the create-tenant.yaml
      3. oc apply -f create-tenant.yaml
      4. No messages are written to the log oc logs -c manager deployment/threescale-operator-controller-manager, only the result of the command oc apply is printed out in the stdout
      Show
      Following are the steps to reproduce the issue. Login to the project where the APIManager is deployed using oc login and oc project commands. Make sure to update the required attributes in the create-tenant.yaml oc apply -f create-tenant.yaml No messages are written to the log oc logs -c manager deployment/threescale-operator-controller-manager , only the result of the command  oc apply is printed out in the stdout

    Description

      When running oc apply command to create a new Tenant with the CRD content in create-tenant.yaml, the operator is failing to create the new Tenant with the following error:

      # oc apply -f create-tenant.yaml 
      The Tenant "test-tenant" is invalid: spec.tenantSecretRef: Required value 

      As per the Tenant CRD reference, the tenantSecretRef attribute is optional.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpereira@redhat.com Gustavo Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: