Skip to content
Snippets Groups Projects
Commit f14d7a19 authored by lavado's avatar lavado
Browse files

Merge branch 'snmp_package2' into 'master'

fix(cleanup container): changing bash to sh

See merge request !55
parents 7ca55f21 c06fd2d5
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