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

fix the 3scale Operator install doc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.5 GA
    • Documentation

      $ oc create -f - <<EOF
      > apiVersion: apps.3scale.net/v1alpha1
      > kind: APIManager
      > metadata:
      >   name: ci-3scale-2.5
      > spec:
      >   productVersion: 2.5
      >   wildcardDomain: 3scale-ci-24.app.itix.fr
      >   wildcardPolicy: Subdomain
      >   resourceRequirementsEnabled: true
      > EOF
      The APIManager "ci-3scale-2.5" is invalid: []: Invalid value: map[string]interface {}{"metadata":map[string]interface {}{"selfLink":"", "clusterName":"", "name":"ci-3scale-2.5", "namespace":"ci-3scale-25", "creationTimestamp":"2019-05-20T08:07:30Z", "generation":1, "uid":"50742544-7ad6-11e9-b555-002590d83d80"}, "spec":map[string]interface {}{"productVersion":2.5, "resourceRequirementsEnabled":true, "wildcardDomain":"3scale-ci-24.app.itix.fr", "wildcardPolicy":"Subdomain"}, "apiVersion":"apps.3scale.net/v1alpha1", "kind":"APIManager"}: validation failure list:
      spec.productVersion in body must be of type string: "number"
      

      The product version needs to be quoted:

      apiVersion: apps.3scale.net/v1alpha1
      kind: APIManager
      metadata:
        name: example-apimanager
      spec:
        productVersion: "2.5"
        wildcardDomain: <wildcardDomain>
        wildcardPolicy: <None|Subdomain>
        resourceRequirementsEnabled: true
      

            Unassigned Unassigned
            rhn-support-nmasse Nicolas Masse (Inactive)
            Filip Čáp Filip Čáp
            Darren Fennessy Darren Fennessy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: