From 62f8f26c14ba4f6e56ffd63742ab9252db82dad2 Mon Sep 17 00:00:00 2001 From: renatoppuccini Date: Wed, 12 Jun 2024 14:21:21 -0400 Subject: [PATCH 1/4] Update nationalparks-java-databases.adoc adding mongoldb ImageStream (since it was removed from openshift 4.9 and above) --- workshop/content/nationalparks-java-databases.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/workshop/content/nationalparks-java-databases.adoc b/workshop/content/nationalparks-java-databases.adoc index 30647a4..d6d24a0 100644 --- a/workshop/content/nationalparks-java-databases.adoc +++ b/workshop/content/nationalparks-java-databases.adoc @@ -38,6 +38,13 @@ be deployed with a single command. Not only that, they can be loaded into OpenShift from an external URL, which will allow you to keep your templates in a version control system. +== Exercise: Create the MongoDB ImageStream on the cluster + +In this step we will create a ImageStream object, which is a reference to the container image of the database. + +--- +oc create -f https://raw.githubusercontent.com/renatoppuccini/getting-started/main/mongoldb-imagestream.yaml +--- == Exercise: Instantiate a MongoDB Template From 72ed4587788b39485495594360c6902cabc0dfbb Mon Sep 17 00:00:00 2001 From: renatoppuccini Date: Wed, 12 Jun 2024 14:22:25 -0400 Subject: [PATCH 2/4] Update nationalparks-java-databases.adoc formatting --- workshop/content/nationalparks-java-databases.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/workshop/content/nationalparks-java-databases.adoc b/workshop/content/nationalparks-java-databases.adoc index d6d24a0..78a3739 100644 --- a/workshop/content/nationalparks-java-databases.adoc +++ b/workshop/content/nationalparks-java-databases.adoc @@ -42,9 +42,10 @@ version control system. In this step we will create a ImageStream object, which is a reference to the container image of the database. ---- +[source,bash,role=execute-1] +---- oc create -f https://raw.githubusercontent.com/renatoppuccini/getting-started/main/mongoldb-imagestream.yaml ---- +---- == Exercise: Instantiate a MongoDB Template From 9208a537ceffbc237af0cb4268936d119e470cfa Mon Sep 17 00:00:00 2001 From: renatoppuccini Date: Wed, 12 Jun 2024 15:05:36 -0400 Subject: [PATCH 3/4] Update nationalparks-dotnet-databases.adoc --- workshop/content/nationalparks-dotnet-databases.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/workshop/content/nationalparks-dotnet-databases.adoc b/workshop/content/nationalparks-dotnet-databases.adoc index 36fdb75..18818e9 100644 --- a/workshop/content/nationalparks-dotnet-databases.adoc +++ b/workshop/content/nationalparks-dotnet-databases.adoc @@ -41,6 +41,14 @@ be deployed with a single command. Not only that, they can be loaded into OpenShift from an external URL, which will allow you to keep your templates in a version control system. +== Exercise: Create the MongoDB ImageStream on the cluster + +In this step we will create a ImageStream object, which is a reference to the container image of the database. + +[source,bash,role=execute-1] +---- +oc create -f https://raw.githubusercontent.com/renatoppuccini/getting-started/main/mongoldb-imagestream.yaml +---- == Exercise: Instantiate a MongoDB Template From 8e6275f019b922245b9737efa809f22951b6e03a Mon Sep 17 00:00:00 2001 From: renatoppuccini Date: Wed, 12 Jun 2024 15:06:52 -0400 Subject: [PATCH 4/4] Update nationalparks-python-databases.adoc --- workshop/content/nationalparks-python-databases.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/workshop/content/nationalparks-python-databases.adoc b/workshop/content/nationalparks-python-databases.adoc index 1b7c6c5..ebe9ddc 100644 --- a/workshop/content/nationalparks-python-databases.adoc +++ b/workshop/content/nationalparks-python-databases.adoc @@ -41,6 +41,14 @@ be deployed with a single command. Not only that, they can be loaded into OpenShift from an external URL, which will allow you to keep your templates in a version control system. +== Exercise: Create the MongoDB ImageStream on the cluster + +In this step we will create a ImageStream object, which is a reference to the container image of the database. + +[source,bash,role=execute-1] +---- +oc create -f https://raw.githubusercontent.com/renatoppuccini/getting-started/main/mongoldb-imagestream.yaml +---- == Exercise: Instantiate a MongoDB Template