Skip to content

Commit

Permalink
https fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel-Jansen committed Aug 12, 2024
1 parent a4f9eaf commit a9cf24f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/gxf/config/tomcat/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SPDX-License-Identifier: Apache-2.0
secretRequired="false" />
{{- end }}
{{- if .Values.httpsConnector.enabled }}
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Nio2Protocol"
maxThreads="{{ $maxThreads }}" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
Expand Down
7 changes: 6 additions & 1 deletion charts/gxf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ spec:
name: http
protocol: TCP
{{- end }}
{{- if .Values.httpsConnector.enabled }}
- containerPort: 8443
name: https
protocol: TCP
{{- end }}
{{- range .Values.extraPorts }}
- containerPort: {{ .port }}
name: {{ .name }}
Expand All @@ -112,7 +117,7 @@ spec:
mountPath: /usr/local/bin
{{- if .Values.httpsConnector.enabled }}
- name: server-certs
mountPath: /certs
mountPath: /etc/ssl/certs
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/gxf/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
- name: http
port: 80
targetPort: http
{{- if .Values.httpdSidecar.enabled }}
{{- if or .Values.httpdSidecar.enabled .Values.httpsConnector.enabled }}
- name: https
port: 443
targetPort: https
Expand Down

0 comments on commit a9cf24f

Please sign in to comment.