Files
HetznerTerra/infrastructure/charts/loki/templates/gateway/secret-gateway.yaml
T

15 lines
395 B
YAML
Raw Normal View History

2026-05-04 10:49:46 +00:00
{{- with .Values.gateway }}
{{- if and .enabled .basicAuth.enabled (not .basicAuth.existingSecret) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "loki.gatewayFullname" $ }}
namespace: {{ include "loki.namespace" $ }}
labels:
{{- include "loki.gatewayLabels" $ | nindent 4 }}
stringData:
.htpasswd: |
{{- tpl .basicAuth.htpasswd $ | nindent 4 }}
{{- end }}
{{- end }}