mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
20 lines
570 B
YAML
20 lines
570 B
YAML
{{- if .Values.vault.enabled }}
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
|
kind: HCPVaultSecretsApp
|
|
metadata:
|
|
name: {{ include "template.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "template.labels" . | nindent 4 }}
|
|
spec:
|
|
appName: {{ .Values.vault.applicationName }}
|
|
hcpAuthRef: {{ .Values.vault.operatorNamespace | default "vault-secrets-operator-system" }}/hcp-auth
|
|
destination:
|
|
create: true
|
|
labels:
|
|
{{- include "template.labels" . | nindent 6 }}
|
|
hvs: "true"
|
|
name: hcloud
|
|
refreshAfter: 1h
|
|
{{- end }}
|