added repo
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{{- if not .Values.enterprise.enabled -}}
|
||||
{{- if and .Values.gateway.enabledNonEnterprise .Values.gateway.nginx.basicAuth.enabled (not .Values.gateway.nginx.basicAuth.existingSecret) }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "mimir.resourceName" (dict "ctx" . "component" "gateway-nginx") }}
|
||||
labels:
|
||||
{{- include "mimir.labels" (dict "ctx" . "component" "gateway-nginx") | nindent 4 }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
stringData:
|
||||
.htpasswd: |
|
||||
{{- tpl .Values.gateway.nginx.basicAuth.htpasswd $ | nindent 4 }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user