about summary refs log tree commit diff
path: root/example/some-api/some-api.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'example/some-api/some-api.yaml')
-rw-r--r--example/some-api/some-api.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/some-api/some-api.yaml b/example/some-api/some-api.yaml
index 57ab7c65275d..44b61541744c 100644
--- a/example/some-api/some-api.yaml
+++ b/example/some-api/some-api.yaml
@@ -25,6 +25,8 @@ spec:
               value: {{ .importantFeature }}
             - name: SOME_GLOBAL_VAR
               value: {{ .globalVar }}
+            - name: FILE_VAR
+              value: {{ fileContent "some-api/filevar.txt" }}
 ---
 apiVersion: v1
 kind: Service