Bash example

This commit is contained in:
Laszlo Fogas
2020-10-14 09:24:36 +02:00
parent c4a74df0f3
commit 7fe72adec8
+16
View File
@@ -24,6 +24,22 @@ EOF
helm template my-release onechart/onechart -f values.yaml
```
### Using bash
```bash
cat << EOF > values.yaml
image:
repository: debian
tag: stable-slim
command: |
while true; do date; sleep 2; done
shell: "/bin/bash"
EOF
helm template my-release onechart/onechart -f values.yaml
```
### Running a command in Alpine Linux
```bash