rancher-partner-charts/charts/trilio/k8s-triliovault-operator/4.0.1/templates/TVMSecret.yaml

26 lines
810 B
YAML

{{- if .Values.observability.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: tvk-integration
namespace: {{ .Release.Namespace }}
annotations:
meta.helm.sh/release-namespace: {{ .Release.Namespace }}
labels:
{{- include "k8s-triliovault-operator.labels" . | nindent 4 }}
triliovault.trilio.io/owner: {{ template "k8s-triliovault-operator.appName" . }}
app.kubernetes.io/instance: {{ template "k8s-triliovault-operator.appName" . }}-validation-webhook-configuration
triliovault.trilio.io/observability: "true"
type: Opaque
stringData:
integration: |-
type: Loki
protocol: ""
host: ""
port: ""
path: "/api/v1/datasource"
username: "admin"
password: {{ .Values.observability.visualization.grafana.adminPassword | quote }}
{{- end }}