Skip to content

Commit a487cc0

Browse files
authored
Update statefulset.yaml
1 parent fdfd0f9 commit a487cc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/example/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ spec:
1717
"kubernetes.io/os": linux
1818
containers:
1919
- name: statefulset-smb
20-
image: mcr.microsoft.com/oss/nginx/nginx:1.17.3-alpine
20+
image: mcr.microsoft.com/oss/nginx/nginx:1.19.5
2121
command:
2222
- "/bin/sh"
2323
- "-c"
24-
- while true; do echo $(date) >> /mnt/smb/outfile; sleep 1; done
24+
- set -euo pipefail; while true; do echo $(date) >> /mnt/smb/outfile; sleep 1; done
2525
volumeMounts:
2626
- name: persistent-storage
2727
mountPath: /mnt/smb

0 commit comments

Comments
 (0)