Adding dependencies, binary autostart
This commit is contained in:
14
opencloud/charts/loki/templates/gateway/secret-gateway.yaml
Normal file
14
opencloud/charts/loki/templates/gateway/secret-gateway.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
{{- with .Values.gateway }}
|
||||
{{- if and .enabled .basicAuth.enabled (not .basicAuth.existingSecret) }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "loki.gatewayFullname" $ }}
|
||||
namespace: {{ $.Release.Namespace }}
|
||||
labels:
|
||||
{{- include "loki.gatewayLabels" $ | nindent 4 }}
|
||||
stringData:
|
||||
.htpasswd: |
|
||||
{{- tpl .basicAuth.htpasswd $ | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user