[extensions-web/deploy] openshift: added imagestreams for parent images
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/deploy] openshift: added imagestreams for parent images
- Date: Sat, 15 Dec 2018 17:07:11 +0000 (UTC)
commit 58ef16e933ceecf5068ea9bd6eee4d4c1909930a
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sat Dec 15 21:07:02 2018 +0400
openshift: added imagestreams for parent images
openshift/templates/extensions-web-nginx.json | 55 ++++++++++++++++++++++++++-
1 file changed, 54 insertions(+), 1 deletion(-)
---
diff --git a/openshift/templates/extensions-web-nginx.json b/openshift/templates/extensions-web-nginx.json
index 705ae26..3de31db 100644
--- a/openshift/templates/extensions-web-nginx.json
+++ b/openshift/templates/extensions-web-nginx.json
@@ -107,6 +107,54 @@
}
}
},
+ {
+ "kind": "ImageStream",
+ "apiVersion": "v1",
+ "metadata": {
+ "name": "nginx",
+ "annotations": {
+ "description": "Keeps track of changes in the nginx:stable image"
+ }
+ },
+ "spec": {
+ "tags": [
+ {
+ "name": "stable",
+ "from": {
+ "kind": "DockerImage",
+ "name": "nginx:stable"
+ },
+ "importPolicy": {
+ "scheduled": true
+ }
+ }
+ ]
+ }
+ },
+ {
+ "kind": "ImageStream",
+ "apiVersion": "v1",
+ "metadata": {
+ "name": "python",
+ "annotations": {
+ "description": "Keeps track of changes in the python image"
+ }
+ },
+ "spec": {
+ "tags": [
+ {
+ "name": "2.7-stretch",
+ "from": {
+ "kind": "DockerImage",
+ "name": "python:2.7-stretch"
+ },
+ "importPolicy": {
+ "scheduled": true
+ }
+ }
+ ]
+ }
+ },
{
"kind": "BuildConfig",
"apiVersion": "v1",
@@ -131,6 +179,11 @@
"strategy": {
"type": "Docker",
"dockerStrategy": {
+ "forcePull": true,
+ "from": {
+ "kind": "ImageStreamTag",
+ "name": "python:2.7-stretch"
+ },
"env": [
{
"name": "EGO_SECRET_KEY",
@@ -211,7 +264,7 @@
"dockerStrategy": {
"forcePull": true,
"from": {
- "kind": "DockerImage",
+ "kind": "ImageStreamTag",
"name": "nginx:stable"
},
"env": [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]