File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 11name : oauth2-proxy
2- version : 6.24.2
2+ version : 7.0.0
33apiVersion : v2
44appVersion : 7.6.0
55home : https://oauth2-proxy.github.io/oauth2-proxy/
@@ -34,8 +34,8 @@ maintainers:
3434kubeVersion : " >=1.9.0-0"
3535annotations :
3636 artifacthub.io/changes : |
37- - kind: fixed
38- description: Allow setting revisionHistoryLimit to 0
37+ - kind: added
38+ description: Fix hostAliases to add multiple entries in /etc/hosts
3939 links:
4040 - name: Github PR
41- url: https://github.com/oauth2-proxy/manifests/pull/183
41+ url: https://github.com/oauth2-proxy/manifests/pull/164
Original file line number Diff line number Diff line change @@ -123,9 +123,7 @@ Parameter | Description | Default
123123` extraEnv ` | key: value list of extra environment variables to give the binary | ` [] `
124124` extraVolumes ` | list of extra volumes | ` [] `
125125` extraVolumeMounts ` | list of extra volumeMounts | ` [] `
126- ` hostAlias.enabled ` | provide extra ip: hostname alias for network name resolution.
127- ` hostAlias.ip ` | ` ip ` address ` hostAliases.hostname ` should resolve to.
128- ` hostAlias.hostname ` | ` hostname ` associated to ` hostAliases.ip ` .
126+ ` hostAliases ` | hostAliases is a list of aliases to be added to /etc/hosts for network name resolution.
129127` htpasswdFile.enabled ` | enable htpasswd-file option | ` false `
130128` htpasswdFile.entries ` | list of [ encrypted user: passwords ] ( https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview#command-line-options ) | ` {} `
131129` htpasswdFile.existingSecret ` | existing Kubernetes secret to use for OAuth2 htpasswd file | ` "" `
Original file line number Diff line number Diff line change 5151 {{- end }}
5252 serviceAccountName : {{ template "oauth2-proxy.serviceAccountName" . }}
5353 automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
54- {{- if .Values.hostAlias.enabled }}
54+ {{- if .Values.hostAliases }}
5555 hostAliases :
56- - ip : {{ .Values.hostAlias.ip }}
57- hostnames :
58- - {{ .Values.hostAlias.hostname }}
56+ {{ toYaml .Values.hostAliases | nindent 8}}
5957 {{- end }}
6058 {{- if and .Values.redis.enabled .Values.initContainers.waitForRedis.enabled }}
6159 initContainers :
Original file line number Diff line number Diff line change @@ -192,11 +192,15 @@ extraContainers: []
192192
193193priorityClassName : " "
194194
195- # Host aliases, useful when working "on premise" where (public) DNS resolver does not know about my hosts.
196- hostAlias :
197- enabled : false
198- # ip: "10.xxx.xxx.xxx"
199- # hostname: "auth.example.com"
195+ # hostAliases is a list of aliases to be added to /etc/hosts for network name resolution
196+ hostAliases : []
197+ # - ip: "10.xxx.xxx.xxx"
198+ # hostnames:
199+ # - "auth.example.com"
200+ # - ip: 127.0.0.1
201+ # hostnames:
202+ # - chart-example.local
203+ # - example.local
200204
201205# [TopologySpreadConstraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) configuration.
202206# Ref: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling
You can’t perform that action at this time.
0 commit comments