diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-07-08 14:48:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 14:48:08 -0400 |
commit | a2b368f82701cac41cbd904c63931d657d0673dd (patch) | |
tree | 4b645a13dcfe7be0f41de9089bbae3e1dc5ca514 /roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json | |
parent | e56ced5ac18b183611717198a73ff8a3bedb9237 (diff) | |
parent | 9328953e9fe11af544835ae7ebe1288b50862636 (diff) | |
download | openshift-a2b368f82701cac41cbd904c63931d657d0673dd.tar.gz openshift-a2b368f82701cac41cbd904c63931d657d0673dd.tar.bz2 openshift-a2b368f82701cac41cbd904c63931d657d0673dd.tar.xz openshift-a2b368f82701cac41cbd904c63931d657d0673dd.zip |
Merge pull request #2133 from sdodson/image-stream-sync
Sync latest image stream content
Diffstat (limited to 'roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json')
-rw-r--r-- | roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json b/roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json index 4b64bd463..b2b9f2478 100644 --- a/roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json +++ b/roles/openshift_examples/files/examples/v1.3/quickstart-templates/nodejs-mongodb.json @@ -84,7 +84,13 @@ "kind": "ImageStreamTag", "namespace": "${NAMESPACE}", "name": "nodejs:0.10" - } + }, + "env": [ + { + "name": "NPM_MIRROR", + "value": "${NPM_MIRROR}" + } + ] } }, "output": { @@ -364,24 +370,28 @@ "name": "NAMESPACE", "displayName": "Namespace", "description": "The OpenShift Namespace where the ImageStream resides.", + "required": true, "value": "openshift" }, { "name": "MEMORY_LIMIT", "displayName": "Memory Limit", "description": "Maximum amount of memory the Node.js container can use.", + "required": true, "value": "512Mi" }, { "name": "MEMORY_MONGODB_LIMIT", "displayName": "Memory Limit (MongoDB)", "description": "Maximum amount of memory the MongoDB container can use.", + "required": true, "value": "512Mi" }, { "name": "SOURCE_REPOSITORY_URL", "displayName": "Git Repository URL", "description": "The URL of the repository with your application source code.", + "required": true, "value": "https://github.com/openshift/nodejs-ex.git" }, { @@ -417,6 +427,7 @@ { "name": "DATABASE_SERVICE_NAME", "displayName": "Database Service Name", + "required": true, "value": "mongodb" }, { @@ -436,6 +447,7 @@ { "name": "DATABASE_NAME", "displayName": "Database Name", + "required": true, "value": "sampledb" }, { @@ -444,6 +456,12 @@ "description": "Password for the database admin user.", "generate": "expression", "from": "[a-zA-Z0-9]{16}" + }, + { + "name": "NPM_MIRROR", + "displayName": "Custom NPM Mirror URL", + "description": "The custom NPM mirror URL", + "value": "" } ] } |