Edit vault-setup.yml

This commit is contained in:
inikulin 2025-07-22 10:37:51 +00:00
parent 3349aeae19
commit 905e049355

View File

@ -10,7 +10,7 @@ metadata:
name: vault-connection-infra name: vault-connection-infra
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
spec: spec:
address: http://vault-client2:8200 address: http://vault:8200
skipTLSVerify: true skipTLSVerify: true
--- ---
apiVersion: secrets.hashicorp.com/v1beta1 apiVersion: secrets.hashicorp.com/v1beta1
@ -30,6 +30,22 @@ spec:
--- ---
apiVersion: secrets.hashicorp.com/v1beta1 apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret kind: VaultStaticSecret
metadata:
name: co-work-secret
namespace: {{ .Release.Namespace }}
spec:
mount: kvv2
type: kv-v2
path: tls-secret/config
refreshAfter: 5m
destination:
create: true
name: co-work-secret
type: kubernetes.io/tls
vaultAuthRef: vault-auth-infra
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata: metadata:
name: kafka-static-user-passwords name: kafka-static-user-passwords
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
@ -116,4 +132,4 @@ spec:
destination: destination:
create: true create: true
name: s3-static-secret name: s3-static-secret
vaultAuthRef: vault-auth-infra vaultAuthRef: vault-auth-infra