diff options
| author | Paul Morie <pmorie@redhat.com> | 2015-05-29 01:00:36 -0400 |
|---|---|---|
| committer | Paul Morie <pmorie@redhat.com> | 2015-05-29 01:00:36 -0400 |
| commit | f2a6d63ddaf19110bf33d32e24710831a1bd9938 (patch) | |
| tree | 0b1991216a329dd552e2f9faf0bbaefe34f7e690 | |
| parent | b04be7e742cd98482e332a1caa3d5b71bbbcf636 (diff) | |
Corrections to examples in expansion docs
| -rw-r--r-- | expansion.md | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/expansion.md b/expansion.md index d15f2501..b3ef161b 100644 --- a/expansion.md +++ b/expansion.md @@ -359,9 +359,7 @@ spec: command: [ "/bin/sh", "-c", "env" ] env: - name: PUBLIC_URL - valueFrom: - expansion: - expand: "http://$(GITSERVER_SERVICE_HOST):$(GITSERVER_SERVICE_PORT)" + value: "http://$(GITSERVER_SERVICE_HOST):$(GITSERVER_SERVICE_PORT)" restartPolicy: Never ``` @@ -383,9 +381,7 @@ spec: fieldRef: fieldPath: "metadata.namespace" - name: PUBLIC_URL - valueFrom: - expansion: - expand: "http://gitserver.$(POD_NAMESPACE):$(SERVICE_PORT)" + value: "http://gitserver.$(POD_NAMESPACE):$(SERVICE_PORT)" restartPolicy: Never ``` |
