From c6c4cfe0b83c2311447ad3fb0b6944defd24a7e5 Mon Sep 17 00:00:00 2001 From: "alfonso.alongi" Date: Sat, 12 Feb 2022 13:56:19 +0100 Subject: [PATCH 1/3] adding jws 5 image stream always updated for opnejdk 8 and 11 --- .../jws5-openjdk11-tomcat9-image-stream.json | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 templates/jws5-openjdk11-tomcat9-image-stream.json diff --git a/templates/jws5-openjdk11-tomcat9-image-stream.json b/templates/jws5-openjdk11-tomcat9-image-stream.json new file mode 100644 index 0000000..3acb1ea --- /dev/null +++ b/templates/jws5-openjdk11-tomcat9-image-stream.json @@ -0,0 +1,78 @@ +{ + "kind": "List", + "apiVersion": "v1", + "metadata": { + "name": "webserver5-tomcat9-image-stream", + "annotations": { + "description": "ImageStream definition for the latest Red Hat JBoss Web Server 5 Apache Tomcat 9 OpenJDK8/OpenJDK11 on UBI8.", + "openshift.io/provider-display-name": "Red Hat, Inc." + } + }, + "items": [ + { + "kind": "ImageStream", + "apiVersion": "image.openshift.io/v1", + "metadata": { + "name": "jboss-webserver5-tomcat9-openshift", + "annotations": { + "openshift.io/display-name": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK11 Latest version on UBI8", + "openshift.io/provider-display-name": "Red Hat, Inc.", + "version": "5" + }, + "labels": { + "samples.operator.openshift.io/managed": "true" + } + }, + "spec": { + "tags": [ + { + "name": "openjdk11", + "annotations": { + "description": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK11 Latest version on UBI8 S2I images.", + "iconClass": "icon-rh-tomcat", + "tags": "builder,tomcat,tomcat9,java,jboss,hidden", + "supports": "tomcat:9,java:11", + "sampleRepo": "https://github.com/jboss-openshift/openshift-quickstarts.git", + "sampleContextDir": "tomcat-websocket-chat", + "version": "latest", + "openshift.io/display-name": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK11 on UBI8" + }, + "importPolicy": { + "scheduled": true + }, + "referencePolicy": { + "type": "Local" + }, + "from": { + "kind": "DockerImage", + "name": "registry.redhat.io/jboss-webserver-5/jws56-openjdk11-openshift-rhel8:latest" + } + }, + { + "name": "openjdk8", + "annotations": { + "description": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK8 Latest version on UBI8 S2I images.", + "iconClass": "icon-rh-tomcat", + "tags": "builder,tomcat,tomcat9,java,jboss,hidden", + "supports": "tomcat:9,java:8", + "sampleRepo": "https://github.com/jboss-openshift/openshift-quickstarts.git", + "sampleContextDir": "tomcat-websocket-chat", + "version": "latest", + "openshift.io/display-name": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK8 on UBI8" + }, + "importPolicy": { + "scheduled": true + }, + "referencePolicy": { + "type": "Local" + }, + "from": { + "kind": "DockerImage", + "name": "registry.redhat.io/jboss-webserver-5/jws56-openjdk8-openshift-rhel8:latest" + } + } + ] + } + } + ] +} \ No newline at end of file From 92c4f43ca5575c9346041fa898e3ae9c868c19d6 Mon Sep 17 00:00:00 2001 From: "alfonso.alongi" Date: Mon, 14 Feb 2022 09:50:05 +0100 Subject: [PATCH 2/3] add dot in is --- templates/jws5-openjdk11-tomcat9-image-stream.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/jws5-openjdk11-tomcat9-image-stream.json b/templates/jws5-openjdk11-tomcat9-image-stream.json index 3acb1ea..956ca8c 100644 --- a/templates/jws5-openjdk11-tomcat9-image-stream.json +++ b/templates/jws5-openjdk11-tomcat9-image-stream.json @@ -26,7 +26,7 @@ "spec": { "tags": [ { - "name": "openjdk11", + "name": "openjdk-11", "annotations": { "description": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK11 Latest version on UBI8 S2I images.", "iconClass": "icon-rh-tomcat", @@ -49,7 +49,7 @@ } }, { - "name": "openjdk8", + "name": "openjdk-8", "annotations": { "description": "JBoss Web Server 5 Apache Tomcat 9 OpenJDK8 Latest version on UBI8 S2I images.", "iconClass": "icon-rh-tomcat", From f1f3b8ba1794cd72366d1c3462378b0b1e45d5ff Mon Sep 17 00:00:00 2001 From: "alfonso.alongi" Date: Mon, 14 Feb 2022 09:52:24 +0100 Subject: [PATCH 3/3] rename is json file --- ...9-image-stream.json => jws5-openjdk-tomcat9-image-stream.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename templates/{jws5-openjdk11-tomcat9-image-stream.json => jws5-openjdk-tomcat9-image-stream.json} (100%) diff --git a/templates/jws5-openjdk11-tomcat9-image-stream.json b/templates/jws5-openjdk-tomcat9-image-stream.json similarity index 100% rename from templates/jws5-openjdk11-tomcat9-image-stream.json rename to templates/jws5-openjdk-tomcat9-image-stream.json