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