Files
telegram-gateway/chart/templates/vaultsecret.yaml
Gabriel Radureau ee832de089
All checks were successful
Docker Build / build-and-push-image (push) Successful in 1m8s
Phase 1 MVP — echo bot factory
2026-05-09 12:23:59 +02:00

19 lines
473 B
YAML

{{- if .Values.vault.enabled -}}
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: bots-secrets
namespace: {{ .Release.Namespace }}
labels:
{{- include "homelab-gateway.labels" . | nindent 4 }}
spec:
type: kv-v2
mount: {{ .Values.vault.mount }}
path: {{ .Values.vault.path }}
destination:
name: {{ .Values.secret.name }}
create: true
refreshAfter: {{ .Values.vault.refreshAfter }}
vaultAuthRef: auth
{{- end }}