blob: 33742e52621e9c6fe8b6291c71d4e7769b7b27fc (
plain) (
tree)
|
|
#!/bin/bash
find {configuration,secrets}/$1 -type f \
| grep --perl-regexp --invert-match "\.sample$|\.gen$|/.gitignore$" \
| while read filename; do
consul kv put "${filename}" "@${filename}"
done
|