Update rendered example
This commit is contained in:
parent
1a79483efc
commit
5c1601875c
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/alma:9.24.2-1
|
||||
FROM danielberteaud/alma:9.24.3-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ARG LLNG_VERSION=2.18.2
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
vault write /database/roles/lemonldap-ng \
|
||||
vault write database/roles/lemonldap-ng \
|
||||
db_name="postgres" \
|
||||
creation_statements="CREATE ROLE \"{{name}}\" WITH LOGIN PASSWORD '{{password}}' VALID UNTIL '{{expiration}}'; \
|
||||
GRANT \"lemonldap-ng\" TO \"{{name}}\"; \
|
||||
|
|
|
@ -89,7 +89,7 @@ job "lemonldap-ng" {
|
|||
user = 1053
|
||||
|
||||
config {
|
||||
image = "danielberteaud/wait-for:24.2-1"
|
||||
image = "danielberteaud/wait-for:24.3-1"
|
||||
readonly_rootfs = true
|
||||
pids_limit = 20
|
||||
}
|
||||
|
@ -285,8 +285,8 @@ PGHOST=127.0.0.1
|
|||
PGDATABASE=lemonldap-ng
|
||||
PGSSLMODE=disable
|
||||
PGPORT=5432
|
||||
PGUSER={{ with secret "/database/creds/lemonldap-ng" }}{{ .Data.username }}{{ end }}
|
||||
PGPASSWORD={{ with secret "/database/creds/lemonldap-ng" }}{{ .Data.password }}{{ end }}
|
||||
PGUSER={{ with secret "database/creds/lemonldap-ng" }}{{ .Data.username }}{{ end }}
|
||||
PGPASSWORD={{ with secret "database/creds/lemonldap-ng" }}{{ .Data.password }}{{ end }}
|
||||
_EOT
|
||||
destination = "secrets/.db.env"
|
||||
uid = 100000
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
path "/kv/sevrice/lemonldap-ng" {
|
||||
path "kv/sevrice/lemonldap-ng" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "/database/creds/lemonldap-ng" {
|
||||
path "database/creds/lemonldap-ng" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue