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

fix(cleanup initContainer): new command to delete generator.yml file


Signed-off-by: default avatarbravof <fbravo@whitestack.com>
parent 94d8a9fd
No related branches found
No related tags found
1 merge request!42Snmp package2
......@@ -17,7 +17,7 @@ spec:
initContainers:
- name: cleanup
image: busybox:1.28
command: ['sh', '-c', 'if [ -f "/etc/snmp_exporter/generator.yml" ]; then rm /etc/snmp_exporter/generator.yml; fi']
command: ['sh', '-c', 'rm -f /etc/snmp_exporter/generator.yml']
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