1 {{- if and .Values.htpasswdFile.enabled (not .Values.htpasswdFile.existingSecret) }}
6 app: {{ template "oauth2-proxy.name" . }}
7 {{- include "oauth2-proxy.labels" . | indent 4 }}
8 name: {{ template "oauth2-proxy.fullname" . }}-htpasswd-file
12 {{- range $entries := .Values.htpasswdFile.entries }}