about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-08T10·51+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-08T10·51+0100
commit8fb24f9f750c4d87f1f36f11ca80f86c78832be6 (patch)
treee519a1584e72998d1b0b1058474385de492123bf /example
parent9e3ee3f2bbce7c7cb2aaea3de2ffb23b17a030ca (diff)
feat main: Initial program implementation & example
Diffstat (limited to 'example')
-rw-r--r--example/prod-cluster.json16
-rw-r--r--example/some-api/deployment.yaml0
-rw-r--r--example/some-api/service.yaml5
3 files changed, 21 insertions, 0 deletions
diff --git a/example/prod-cluster.json b/example/prod-cluster.json
new file mode 100644
index 000000000000..76246ca382de
--- /dev/null
+++ b/example/prod-cluster.json
@@ -0,0 +1,16 @@
+{
+  "context": "k8s.prod.mydomain.com",
+  "global": {
+    "globalTest": "lizards"
+  },
+  "include": [
+    {
+      "name": "some-api",
+      "values": {
+        "version": "1.0-SNAPSHOT-0e6884d",
+        "importantFeature": true,
+        "apiPort": 4567
+      }
+    }
+  ]
+}
diff --git a/example/some-api/deployment.yaml b/example/some-api/deployment.yaml
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/example/some-api/deployment.yaml
diff --git a/example/some-api/service.yaml b/example/some-api/service.yaml
new file mode 100644
index 000000000000..6aee8788093c
--- /dev/null
+++ b/example/some-api/service.yaml
@@ -0,0 +1,5 @@
+---
+name: foo
+importantFeature: {{ .importantFeature }}
+port: {{ .apiPort }}
+globalTest: {{ .globalTest }}