Phase 1 MVP — echo bot factory
All checks were successful
Docker Build / build-and-push-image (push) Successful in 1m8s
All checks were successful
Docker Build / build-and-push-image (push) Successful in 1m8s
This commit is contained in:
18
chart/templates/vaultsecret.yaml
Normal file
18
chart/templates/vaultsecret.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- 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 }}
|
||||
Reference in New Issue
Block a user