mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add protocol configuration for nginx-ldap-proxy (#15532)
Signed-off-by: Julien Godin <julien.godin@camptocamp.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
403ec6a38d
commit
9f72d85b05
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: nginx proxy with ldapauth
|
||||
name: nginx-ldapauth-proxy
|
||||
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Nginx_logo.svg/500px-Nginx_logo.svg.png
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
appVersion: 1.13.5
|
||||
sources:
|
||||
- https://github.com/dweomer/dockerfiles-nginx-auth-ldap
|
||||
@@ -12,3 +12,4 @@ maintainers:
|
||||
email: pete.brown@powerhrg.com
|
||||
- name: jar361
|
||||
email: jrodgers@powerhrg.com
|
||||
home: https://github.com/nginxinc/nginx-ldap-auth
|
||||
|
||||
@@ -24,7 +24,7 @@ data:
|
||||
|
||||
{{- if and .Values.proxy.ldapHost .Values.secrets.ldapBindPassword }}
|
||||
ldap_server ldapserver {
|
||||
url ldap://{{ .Values.proxy.ldapHost }}:{{ .Values.proxy.ldapPort }}/{{ .Values.proxy.ldapDN }}?uid?sub?(&({{ .Values.proxy.ldapFilter}}));
|
||||
url {{ .Values.proxy.protocol }}://{{ .Values.proxy.ldapHost }}:{{ .Values.proxy.ldapPort }}/{{ .Values.proxy.ldapDN }}?uid?sub?(&({{ .Values.proxy.ldapFilter}}));
|
||||
binddn "{{ .Values.proxy.ldapBindDN }}";
|
||||
binddn_passwd {{ .Values.secrets.ldapBindPassword }};
|
||||
group_attribute {{ .Values.proxy.ldapGroup }};
|
||||
|
||||
@@ -14,6 +14,7 @@ service:
|
||||
externalPort: 443
|
||||
internalPort: 80
|
||||
proxy:
|
||||
protocol: "ldap"
|
||||
port: 443
|
||||
host: "kubernetes.default.svc.cluster.local"
|
||||
authName: "Auth Required"
|
||||
|
||||
Reference in New Issue
Block a user