ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
18
services/short/k8s/tunnel/vault.yaml
Normal file
18
services/short/k8s/tunnel/vault.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata: {name: peers, namespace: short}
|
||||
spec:
|
||||
vaultAuthRef: short
|
||||
type: kv-v2
|
||||
mount: secret
|
||||
path: short/peers
|
||||
refreshAfter: 10s
|
||||
destination:
|
||||
create: true
|
||||
overwrite: true
|
||||
name: peers
|
||||
transformation:
|
||||
excludeRaw: true
|
||||
excludes: [.*]
|
||||
templates:
|
||||
config: {text: '{{ get .Secrets "config" }}'}
|
||||
Loading…
Reference in a new issue