Skip to content
Snippets Groups Projects
Commit c06fd2d5 authored by bravof's avatar bravof
Browse files

fix(cleanup container): changing bash to sh

parent d303d066
No related branches found
No related tags found
1 merge request!55fix(cleanup container): changing bash to sh
......@@ -19,7 +19,7 @@ spec:
initContainers:
- name: cleanup
image: busybox:1.28
command: ['bash', '-c', 'if [ ! -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/snmp_exporter/ok.init; fi']
command: ['sh', '-c', 'if [ ! -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/snmp_exporter/ok.init; fi']
volumeMounts:
- name: config-volume
mountPath: /etc/snmp_exporter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment