2019-06-01 16:02:49 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-10-27 15:26:21 +01:00
|
|
|
find {configuration,secrets}/$1 -type f \
|
2019-06-01 16:02:49 +02:00
|
|
|
| grep --perl-regexp --invert-match "\.sample$|\.gen$|/.gitignore$" \
|
|
|
|
| while read filename; do
|
|
|
|
consul kv put "${filename}" "@${filename}"
|
|
|
|
done
|