add sidecar command examples and update codegen (#2825)

This commit is contained in:
Felix Kunde
2024-12-23 09:58:48 +01:00
committed by GitHub
parent 9b103e764e
commit 265f2a0f1c
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -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