Browse Source

use local reference policy for dotnet imagestreams

Ben Parees 6 years ago
parent
commit
8c666f8c70

+ 24 - 6
roles/openshift_examples/files/examples/v3.11/image-streams/dotnet_imagestreams.json

@@ -26,11 +26,14 @@
                           "description": "Build and run .NET Core applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/2.0/build/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of .NET Core available on OpenShift, including major versions updates.",
                           "iconClass": "icon-dotnet",
                           "tags": "builder,.net,dotnet,dotnetcore",
-                          "supports":"dotnet",
+                          "supports": "dotnet",
                           "sampleRepo": "https://github.com/redhat-developer/s2i-dotnetcore-ex.git",
                           "sampleContextDir": "app",
                           "sampleRef": "dotnetcore-2.0"
                         },
+                        "referencePolicy": {
+                            "type": "Local"
+                        },
                         "from": {
                           "kind": "ImageStreamTag",
                           "name": "2.0"
@@ -43,12 +46,15 @@
                             "description": "Build and run .NET Core 2.0 applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/2.0/build/README.md.",
                             "iconClass": "icon-dotnet",
                             "tags": "builder,.net,dotnet,dotnetcore,rh-dotnet20",
-                            "supports":"dotnet:2.0,dotnet",
+                            "supports": "dotnet:2.0,dotnet",
                             "sampleRepo": "https://github.com/redhat-developer/s2i-dotnetcore-ex.git",
                             "sampleContextDir": "app",
                             "sampleRef": "dotnetcore-2.0",
                             "version": "2.0"
                         },
+                        "referencePolicy": {
+                            "type": "Local"
+                        },
                         "from": {
                           "kind": "DockerImage",
                           "name": "registry.redhat.io/dotnet/dotnet-20-rhel7:2.0"
@@ -61,12 +67,15 @@
                             "description": "Build and run .NET Core 1.1 applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/1.1/README.md.",
                             "iconClass": "icon-dotnet",
                             "tags": "builder,.net,dotnet,dotnetcore,rh-dotnetcore11",
-                            "supports":"dotnet:1.1,dotnet",
+                            "supports": "dotnet:1.1,dotnet",
                             "sampleRepo": "https://github.com/redhat-developer/s2i-dotnetcore-ex.git",
                             "sampleContextDir": "app",
                             "sampleRef": "dotnetcore-1.1",
                             "version": "1.1"
                         },
+                        "referencePolicy": {
+                            "type": "Local"
+                        },
                         "from": {
                           "kind": "DockerImage",
                           "name": "registry.redhat.io/dotnet/dotnetcore-11-rhel7:1.1"
@@ -79,12 +88,15 @@
                             "description": "Build and run .NET Core 1.0 applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/1.0/README.md.",
                             "iconClass": "icon-dotnet",
                             "tags": "builder,.net,dotnet,dotnetcore,rh-dotnetcore10",
-                            "supports":"dotnet:1.0,dotnet",
+                            "supports": "dotnet:1.0,dotnet",
                             "sampleRepo": "https://github.com/redhat-developer/s2i-dotnetcore-ex.git",
                             "sampleContextDir": "app",
                             "sampleRef": "dotnetcore-1.0",
                             "version": "1.0"
                         },
+                        "referencePolicy": {
+                            "type": "Local"
+                        },
                         "from": {
                           "kind": "DockerImage",
                           "name": "registry.redhat.io/dotnet/dotnetcore-10-rhel7:1.0"
@@ -111,7 +123,10 @@
                           "description": "Run .NET Core applications on RHEL 7. For more information about using this image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/2.0/runtime/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of .NET Core Runtime available on OpenShift, including major versions updates.",
                           "iconClass": "icon-dotnet",
                           "tags": "runtime,.net-runtime,dotnet-runtime,dotnetcore-runtime",
-                          "supports":"dotnet-runtime"
+                          "supports": "dotnet-runtime"
+                        },
+                        "referencePolicy": {
+                            "type": "Local"
                         },
                         "from": {
                           "kind": "ImageStreamTag",
@@ -125,9 +140,12 @@
                             "description": "Run .NET Core applications on RHEL 7. For more information about using this image, including OpenShift considerations, see https://github.com/redhat-developer/s2i-dotnetcore/tree/master/2.0/runtime/README.md.",
                             "iconClass": "icon-dotnet",
                             "tags": "runtime,.net-runtime,dotnet-runtime,dotnetcore-runtime",
-                            "supports":"dotnet-runtime",
+                            "supports": "dotnet-runtime",
                             "version": "2.0"
                         },
+                        "referencePolicy": {
+                            "type": "Local"
+                        },
                         "from": {
                           "kind": "DockerImage",
                           "name": "registry.redhat.io/dotnet/dotnet-20-runtime-rhel7:2.0"