Cleanup
This commit is contained in:
parent
eb2e1ee615
commit
dd858f11e0
|
@ -156,7 +156,6 @@ _EOF
|
|||
"traefik.consulcatalog.connect=false",
|
||||
"traefik.tcp.routers.repo-rsync.entrypoints=repo-rsync",
|
||||
"traefik.tcp.routers.repo-rsync.rule=HostSNI(`*`)",
|
||||
"traefik.tcp.routers.repo-rsync.middlewares=",
|
||||
|
||||
]
|
||||
}
|
||||
|
@ -194,7 +193,7 @@ _EOF
|
|||
|
||||
template {
|
||||
data = <<-_EOF
|
||||
{{ with secret "kv/service/repo" }}
|
||||
{{ with secret "/kv/service/repo" }}
|
||||
{{- range $idx, $key := .Data.data.ssh_keys | split "," -}}
|
||||
SSH_AUTH_KEY_{{ $idx }}={{ $key }}
|
||||
{{ end }}{{ end }}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
path "kv/data/service/repo" {
|
||||
path "/kv/data/service/repo" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ _EOF
|
|||
|
||||
template {
|
||||
data = <<-_EOF
|
||||
{{ with secret "[[ .vault.prefix ]]kv/service/repo" }}
|
||||
{{ with secret "[[ .vault.root ]]kv/service/[[ .instance ]]" }}
|
||||
{{- range $idx, $key := .Data.data.ssh_keys | split "," -}}
|
||||
SSH_AUTH_KEY_{{ $idx }}={{ $key }}
|
||||
{{ end }}{{ end }}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
path "[[ .vault.prefix ]]kv/data/service/repo" {
|
||||
path "[[ .vault.root ]]kv/data/service/[[ .instance ]]" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue