Update container port names for status page in nginx.yaml

This commit is contained in:
Simon Larsen 2024-06-24 19:45:01 +01:00
parent 4acedfdd62
commit 14f9950c38
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -95,7 +95,7 @@ spec:
# If you are connecting Status Pages to custom domains, then this will be the port where the status page will be hosted on.
- containerPort: 7850
protocol: TCP
name: statuspage-https
name: statuspage-ssl
restartPolicy: {{ $.Values.image.restartPolicy }}
---
@ -130,7 +130,7 @@ spec:
name: oneuptime-http
- port: {{ $.Values.port.statusPageHttpsPort }}
targetPort: 7850
name: statuspage-https
name: statuspage-ssl
selector:
app: {{ printf "%s-%s" $.Release.Name "nginx" }}
{{- if and ($.Values.nginx.service.type) (eq $.Values.oneuptimeIngress.enabled false) }}