summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian von Feilitzsch <fabian@fabianism.us>2018-01-22 13:54:56 -0500
committerFabian von Feilitzsch <fabian@fabianism.us>2018-01-22 13:54:56 -0500
commit4fca5efde8ac210b96846a553153a444c13be4fb (patch)
tree5a5fecfa99f5268fe7c03b1aeafb9e90b88a87c1
parent9dc31f10b113cb0ceab1ba992ad2609da140ba6f (diff)
downloadopenshift-4fca5efde8ac210b96846a553153a444c13be4fb.tar.gz
openshift-4fca5efde8ac210b96846a553153a444c13be4fb.tar.bz2
openshift-4fca5efde8ac210b96846a553153a444c13be4fb.tar.xz
openshift-4fca5efde8ac210b96846a553153a444c13be4fb.zip
Bug 1524805- ServiceCatalog now works disconnected
Change imagePullPolicy for service catalog from Always to IfNotPresent, allowing service catalog to install in a disconnected setting
-rw-r--r--roles/openshift_service_catalog/templates/api_server.j22
-rw-r--r--roles/openshift_service_catalog/templates/controller_manager.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_service_catalog/templates/api_server.j2 b/roles/openshift_service_catalog/templates/api_server.j2
index e345df32c..a18d29ef0 100644
--- a/roles/openshift_service_catalog/templates/api_server.j2
+++ b/roles/openshift_service_catalog/templates/api_server.j2
@@ -49,7 +49,7 @@ spec:
- OriginatingIdentity=true
image: {{ openshift_service_catalog_image_prefix }}service-catalog:{{ openshift_service_catalog_image_version }}
command: ["/usr/bin/service-catalog"]
- imagePullPolicy: Always
+ imagePullPolicy: IfNotPresent
name: apiserver
ports:
- containerPort: 6443
diff --git a/roles/openshift_service_catalog/templates/controller_manager.j2 b/roles/openshift_service_catalog/templates/controller_manager.j2
index c61e05f73..6d3ee7d01 100644
--- a/roles/openshift_service_catalog/templates/controller_manager.j2
+++ b/roles/openshift_service_catalog/templates/controller_manager.j2
@@ -44,7 +44,7 @@ spec:
{% endif %}
image: {{ openshift_service_catalog_image_prefix }}service-catalog:{{ openshift_service_catalog_image_version }}
command: ["/usr/bin/service-catalog"]
- imagePullPolicy: Always
+ imagePullPolicy: IfNotPresent
name: controller-manager
ports:
- containerPort: 8080