File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11name : oauth2-proxy
2- version : 5.2.1
2+ version : 5.3.0
33apiVersion : v2
44appVersion : 7.2.0
55home : https://oauth2-proxy.github.io/oauth2-proxy/
Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ Parameter | Description | Default
106106` extraEnv ` | key: value list of extra environment variables to give the binary | ` [] `
107107` extraVolumes ` | list of extra volumes | ` [] `
108108` extraVolumeMounts ` | list of extra volumeMounts | ` [] `
109+ ` hostAlias.enabled ` | provide extra ip: hostname alias for network name resolution.
110+ ` hostAlias.ip ` | ` ip ` address ` hostAliases.hostname ` should resolve to.
111+ ` hostAlias.hostname ` | ` hostname ` associated to ` hostAliases.ip ` .
109112` htpasswdFile.enabled ` | enable htpasswd-file option | ` false `
110113` htpasswdFile.entries ` | list of [ SHA encrypted user: passwords ] ( https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview#command-line-options ) | ` {} `
111114` htpasswdFile.existingSecret ` | existing Kubernetes secret to use for OAuth2 htpasswd file | ` "" `
Original file line number Diff line number Diff line change 3939 {{- toYaml . | nindent 8 }}
4040 {{- end }}
4141 serviceAccountName : {{ template "oauth2-proxy.serviceAccountName" . }}
42+ {{- if .Values.hostAlias.enabled }}
43+ hostAliases :
44+ - ip : {{ .Values.hostAlias.ip }}
45+ hostnames :
46+ - {{ .Values.hostAlias.hostname }}
47+ {{- end }}
4248 containers :
4349 - name : {{ .Chart.Name }}
4450 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
Original file line number Diff line number Diff line change @@ -147,6 +147,12 @@ extraVolumeMounts: []
147147
148148priorityClassName : " "
149149
150+ # Host aliases, useful when working "on premise" where (public) DNS resolver does not know about my hosts.
151+ hostAlias :
152+ enabled : false
153+ # ip: "10.xxx.xxx.xxx"
154+ # hostname: "auth.example.com"
155+
150156# Affinity for pod assignment
151157# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
152158# affinity: {}
You can’t perform that action at this time.
0 commit comments