When config dir is mounted from configmap, filepath.Walk() finds the same .conf file twice as 20-acme.conf is a link to ..data/20-acme.conf for example. This patch skips all folder names starting with '..' which is pretty uncommon and mainly used by Kubernetes mounts. |
||
|---|---|---|
| .. | ||
| ..4984_10_04_08_28_06.119 | ||
| exec.conf | ||
| memcached.conf | ||
| procstat.conf | ||