mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #8987 from pmorie/expand-docs
Corrections to examples in expansion docs
This commit is contained in:
commit
ed4898d98c
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user