maabara/manifests/prometheus/charts/prometheus-pushgateway/templates/secret.yaml

11 lines
315 B
YAML

{{- if .Values.webConfiguration }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "prometheus-pushgateway.fullname" . }}
labels:
{{- include "prometheus-pushgateway.defaultLabels" . | nindent 4 }}
data:
web-config.yaml: {{ include "prometheus-pushgateway.webConfiguration" . | b64enc}}
{{- end }}