Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1892

Move the label pair inside the metadata block in the JWS openshift templates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • cloud, jws-on-openshift
    • None
    • False
    • False
    • Undefined

      Currently, all of the JWS imagestreams and templates have the label pair defined outside the metadata block, i.e. https://github.com/jboss-container-images/jboss-webserver-5-openshift-image/blob/jws54el7-v1.0/templates/jws54-openjdk11-tomcat9-rhel7-image-stream.json#L23-L24

      This results in the following behaviour, where the labels are not showing a value:

      $ oc describe imagestream jboss-webserver54-openjdk11-tomcat9-openshift-rhel7 -n openshift
      Name:			jboss-webserver54-openjdk11-tomcat9-openshift-rhel7
      Namespace:		openshift
      Created:		8 minutes ago
      Labels:			<none>
      

      It would be beneficial to include the label inside the metadata so that we can use it for filtering the objects that have the same labels.

      https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

            szappis@redhat.com Sokratis Zappis
            szappis@redhat.com Sokratis Zappis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: