Merge pull request #8987 from pmorie/expand-docs

Corrections to examples in expansion docs
This commit is contained in:
Alex Robinson 2015-05-28 22:04:58 -07:00
commit ed4898d98c

View File

@ -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
```