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

Merge branch 'snmp_package2' into 'master'

fix(cleanup): typo in cleanup initcontainer

See merge request !56
parents f14d7a19 5cd61cd5
No related branches found
No related tags found
1 merge request!56fix(cleanup): typo in cleanup initcontainer
......@@ -19,7 +19,7 @@ spec:
initContainers:
- name: cleanup
image: busybox:1.28
command: ['sh', '-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