deploy dolibarr
This commit is contained in:
24
chart/templates/vaultsecret.yaml
Normal file
24
chart/templates/vaultsecret.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: vault-kv-app
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
type: kv-v2
|
||||
|
||||
# mount path
|
||||
mount: kvv2
|
||||
|
||||
# path of the secret
|
||||
path: erp/config
|
||||
|
||||
# dest k8s secret
|
||||
destination:
|
||||
name: secretkv
|
||||
create: true
|
||||
|
||||
# static secret refresh interval
|
||||
refreshAfter: 24h
|
||||
|
||||
# Name of the CRD to authenticate to Vault
|
||||
vaultAuthRef: auth
|
||||
Reference in New Issue
Block a user