Commit 2ad30966 authored by Paul Morie's avatar Paul Morie

Corrections to examples in expansion docs

parent 2c15609a
...@@ -359,9 +359,7 @@ spec: ...@@ -359,9 +359,7 @@ spec:
command: [ "/bin/sh", "-c", "env" ] command: [ "/bin/sh", "-c", "env" ]
env: env:
- name: PUBLIC_URL - name: PUBLIC_URL
valueFrom: value: "http://$(GITSERVER_SERVICE_HOST):$(GITSERVER_SERVICE_PORT)"
expansion:
expand: "http://$(GITSERVER_SERVICE_HOST):$(GITSERVER_SERVICE_PORT)"
restartPolicy: Never restartPolicy: Never
``` ```
...@@ -383,9 +381,7 @@ spec: ...@@ -383,9 +381,7 @@ spec:
fieldRef: fieldRef:
fieldPath: "metadata.namespace" fieldPath: "metadata.namespace"
- name: PUBLIC_URL - name: PUBLIC_URL
valueFrom: value: "http://gitserver.$(POD_NAMESPACE):$(SERVICE_PORT)"
expansion:
expand: "http://gitserver.$(POD_NAMESPACE):$(SERVICE_PORT)"
restartPolicy: Never restartPolicy: Never
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment