Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8345

[FMP] Configuration of Imagestreamtag creates broken DeploymentConfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • FIS 2.0
    • FIS 2.0
    • FIS-Fabric8
    • None
    • % %

    Description

      Configuration of Imagestreamtag in pom.xml via

      <configuration>
      	<images>
      		<image>
      			<name>zero-imagestream</name>
      			<build>
      				<fromExt>
      					<name>fis-java-openshift:2.0</name>
      					<namespace>openshift</namespace>
      					<type>ImageStreamTag</type>
      				</fromExt>
      			</build>
      		</image>
      	</images>
      </configuration>
      

      creates broken DeploymentConfig (it prepends group id before artefact id (group id contains dots which are not supported in namespace)

      spec.triggers.imageChangeParams.containerNames.name."io.fabric8-fabric8-maven-sample-zero-config"
      spec.template > spec > containers > name : "io.fabric8-fabric8-maven-sample-zero-config"
      

      error from oc create -f

      spec.template.spec.containers[0].name: 
      Invalid value: "io.fabric8-fabric8-maven-sample-zero-config":
       must match the regex [a-z0-9]([-a-z0-9]*[a-z0-9])? (e.g. 'my-name' or '123-abc')
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slavokrupa Slavomir Krupa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: