Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3164

URL to check view pods permission is not correct

    XMLWordPrintable

Details

    • Cloud Sprint 34

    Description

      while looking at making clustering work with the operator, I found that https://github.com/jboss-container-images/jboss-eap-modules/blob/5616fe759baeaeba9edb5b56ff6156420467b723/jboss-eap-config-jgroups/added/launch/ha.sh#L42 may not work as expected.

      From the doc, the correct param is labelSelector, not labels (https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#list-and-watch-filtering). I run the curl command in my pod terminal and using labels returns all pods in my namespace (and not only the ones matching the selector). Using labelSelector works as expected.

      This is minor since we are only interested by the returned HTTP code and not the actual list of pods.

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: