diff --git a/home-assistant/ingress.yaml b/home-assistant/ingress.yaml index 10c7491..3109a33 100644 --- a/home-assistant/ingress.yaml +++ b/home-assistant/ingress.yaml @@ -19,7 +19,7 @@ metadata: # If you encounter a redirect loop or are getting a 307 response code # then you need to force the nginx ingress to connect to the backend using HTTPS. # - # nginx.ingress.kubernetes.io/backend-protocol: "HTTP" + nginx.ingress.kubernetes.io/backend-protocol: "HTTP" # namespace: ente-photos spec: ingressClassName: nginx @@ -33,7 +33,7 @@ spec: service: name: ha-svc port: - number: 80 + number: 443 # TLS configuration for HTTPS tls: diff --git a/home-assistant/service.yaml b/home-assistant/service.yaml index b7754d5..007fdd5 100644 --- a/home-assistant/service.yaml +++ b/home-assistant/service.yaml @@ -5,7 +5,7 @@ metadata: spec: ports: - name: app - port: 80 + port: 443 targetPort: 8123 ipFamilies: - IPv4