diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-12-22 14:40:04 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-12-22 14:40:04 +0100 |
commit | bb5a82b056deeee6ca03aacb8404cb0ab1c1ec1a (patch) | |
tree | 4df081793848d0d596e1af30cd855151733e2f56 | |
parent | e628dc44bac9492173c4800c8b999a82b6c55b71 (diff) | |
download | infrastructure-bb5a82b056deeee6ca03aacb8404cb0ab1c1ec1a.tar.gz infrastructure-bb5a82b056deeee6ca03aacb8404cb0ab1c1ec1a.zip |
Fix seafile
-rw-r--r-- | app/config/secrets/seafile/conf/mykey.peer.sample | 0 | ||||
-rw-r--r-- | app/deployment/seafile.hcl | 5 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/config/secrets/seafile/conf/mykey.peer.sample b/app/config/secrets/seafile/conf/mykey.peer.sample new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/app/config/secrets/seafile/conf/mykey.peer.sample diff --git a/app/deployment/seafile.hcl b/app/deployment/seafile.hcl index 8e2480a..a44bf60 100644 --- a/app/deployment/seafile.hcl +++ b/app/deployment/seafile.hcl @@ -162,14 +162,13 @@ job "seafile" { } # ---- secrets ---- - # @FIXME should be put in the secret hierarchy in consul template { - data = "{{ key \"configuration/seafile/conf/mykey.peer\" }}" + data = "{{ key \"secrets/seafile/conf/mykey.peer\" }}" destination = "secrets/ccnet/mykey.peer" } template { - data = "{{ key \"configuration/seafile/conf/mykey.peer\" }}" + data = "{{ key \"secrets/seafile/conf/mykey.peer\" }}" destination = "secrets/conf/mykey.peer" } } |