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

fix(initcontainers): getting rid of cleanup container and changing it by a readinessprobe

parent d2daeaeb
No related branches found
No related tags found
1 merge request!59Snmp package2
......@@ -45,6 +45,12 @@ spec:
mountPath: /etc/snmp_exporter
- name: internal-comm
mountPath: /etc/internalcomm
readinessProbe:
exec:
command:
- /bin/sh
- -c
- if [ -f "/etc/snmp_exporter/generator.yml" ]; then touch /internalcomm/ok.init; fi
livenessProbe:
exec:
command:
......
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