Skip to content

Commit 265f2a0

Browse files
authored
add sidecar command examples and update codegen (#2825)
1 parent 9b103e7 commit 265f2a0

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

docs/administrator.md

+4
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,10 @@ configuration:
14051405
volumeMounts:
14061406
- mountPath: /custom-pgdata-mountpoint
14071407
name: pgdata
1408+
env:
1409+
- name: "ENV_VAR_NAME"
1410+
value: "any-k8s-env-things"
1411+
command: ['sh', '-c', 'echo "logging" > /opt/logs.txt']
14081412
- ...
14091413
```
14101414

docs/user.md

+1
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ spec:
10051005
env:
10061006
- name: "ENV_VAR_NAME"
10071007
value: "any-k8s-env-things"
1008+
command: ['sh', '-c', 'echo "logging" > /opt/logs.txt']
10081009
```
10091010

10101011
In addition to any environment variables you specify, the following environment

pkg/apis/acid.zalan.do/v1/zz_generated.deepcopy.go

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)