mirror of https://git.rancher.io/charts
12 lines
469 B
YAML
12 lines
469 B
YAML
{{- if .Values.prometheus.prometheusSpec.thanos.secretProviderClass }}
|
|
---
|
|
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
|
|
kind: SecretProviderClass
|
|
metadata:
|
|
name: {{ template "kube-prometheus-stack.fullname" . }}-prometheus
|
|
namespace: {{ template "kube-prometheus-stack.namespace" . }}
|
|
labels:
|
|
app: {{ template "kube-prometheus-stack.name" . }}-prometheus
|
|
spec:
|
|
{{ toYaml .Values.prometheus.prometheusSpec.thanos.secretProviderClass | indent 2 }}
|
|
{{- end }} |