summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Lowdermilk <jeffml@google.com>2016-03-02 16:17:00 -0800
committerJeff Lowdermilk <jeffml@google.com>2016-03-02 16:17:00 -0800
commit41cf2a7889bf98a8ff85298a32e950f4c8363882 (patch)
tree1b3416dcb0e40f287f5f48649aa7f61c3ab54e77
parent7b780cb4ade9d009d9f65f743472914f1f272466 (diff)
parent894bcfcb4dda223b81bab48f869a90405dc29e1d (diff)
Merge pull request #21981 from bparees/syntax
fix syntax issues in template example json
-rw-r--r--templates.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates.md b/templates.md
index 7f94211a..7ebfd0ad 100644
--- a/templates.md
+++ b/templates.md
@@ -227,7 +227,7 @@ type Parameter struct {
// $((Name)) expression during the Template to Config transformation.
Value string
- // Optional: Indicates the parameter must have a value. Defaults to false.
+ // Optional: Indicates the parameter must have a non-empty value either provided by the user or provided by a default. Defaults to false.
Required bool
// Optional: Type-value of the parameter (one of string, int, bool, or base64)
@@ -309,7 +309,7 @@ pod template.
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
- "name": "$(DATABASE_SERVICE_NAME)",
+ "name": "$(DATABASE_SERVICE_NAME)"
},
"spec": {
"replicas": "$((REPLICA_COUNT))",
@@ -365,7 +365,7 @@ pod template.
{
"name": "MONGODB_USER",
"description": "Username for MongoDB user that will be used for accessing the database",
- "value": "password"
+ "value": "username",
"required": true
},
{