Skip to content

Commit

Permalink
add sidecar command examples and update codegen (#2825)
Browse files Browse the repository at this point in the history
  • Loading branch information
FxKu authored Dec 23, 2024
1 parent 9b103e7 commit 265f2a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/administrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,10 @@ configuration:
volumeMounts:
- mountPath: /custom-pgdata-mountpoint
name: pgdata
env:
- name: "ENV_VAR_NAME"
value: "any-k8s-env-things"
command: ['sh', '-c', 'echo "logging" > /opt/logs.txt']
- ...
```

Expand Down
1 change: 1 addition & 0 deletions docs/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,7 @@ spec:
env:
- name: "ENV_VAR_NAME"
value: "any-k8s-env-things"
command: ['sh', '-c', 'echo "logging" > /opt/logs.txt']
```

In addition to any environment variables you specify, the following environment
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/acid.zalan.do/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 265f2a0

Please sign in to comment.