Skip to content

Commit 38cad94

Browse files
authored
Set https port to 4443 (#117)
* Set https port to 4443 Default port was 443 but it is not allowed for binding by a non-root user * bump minor version of chart
1 parent 711f9aa commit 38cad94

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 6.3.0
2+
version: 6.3.1
33
apiVersion: v2
44
appVersion: 7.3.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ spec:
5959
- --alpha-config=/etc/oauth2_proxy/oauth2_proxy.yml
6060
{{- else }}
6161
- --http-address=0.0.0.0:4180
62+
- --https-address=0.0.0.0:4443
6263
{{- if .Values.metrics.enabled }}
6364
- --metrics-address=0.0.0.0:44180
6465
{{- end }}
@@ -159,7 +160,11 @@ spec:
159160
{{ tpl (toYaml .Values.extraEnv) . | indent 8 }}
160161
{{- end }}
161162
ports:
163+
{{- if eq .Values.httpScheme "http" }}
162164
- containerPort: 4180
165+
{{- else }}
166+
- containerPort: 4443
167+
{{- end }}
163168
name: {{ .Values.httpScheme }}
164169
protocol: TCP
165170
{{- if .Values.metrics.enabled }}

0 commit comments

Comments
 (0)