Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-2151

EUG - oc apply fails for mongo meta.yaml

    XMLWordPrintable

Details

    Description

      In chapter 3, section 4, running "oc apply -f ${mongo}" fails with the following error:

       

      The Deployment "mongo-controller" is invalid: 

      • spec.selector: Required value
      • spec.template.metadata.labels: Invalid value: map[string]string{"name":"mongo"}: `selector` does not match template `labels`

      Attachments

        Activity

          People

            Unassigned Unassigned
            ericwill@redhat.com Eric Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: