diff --git a/home-assistant/ingress.yaml b/home-assistant/ingress.yaml deleted file mode 100644 index d08f1ba..0000000 --- a/home-assistant/ingress.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: home-assistant-ingress - annotations: - # nginx.ingress.kubernetes.io/rewrite-target: / - cert-manager.io/cluster-issuer: prod-cluster-issuer - nginx.ingress.kubernetes.io/ssl-passthrough: "false" - # nginx.ingress.kubernetes.io/enable-cors: "true" - # type of authentication - # nginx.ingress.kubernetes.io/auth-type: basic - # name of the secret that contains the user/password definitions - # nginx.ingress.kubernetes.io/auth-secret: longhorn-basic-auth - # message to display with an appropriate context why the authentication is required - # nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required ' - - # nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:3000/" - # nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS, DELETE" - # 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" - # namespace: ente-photos -spec: - ingressClassName: nginx - rules: - - host: ha.hensen.io - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: home-assistant-external - port: - number: 8123 - - # TLS configuration for HTTPS - tls: - # TLS secretName used on ClusterIssuer - - secretName: letsencrypt-prod - hosts: - - ha.hensen.io - diff --git a/home-assistant/service.yaml b/home-assistant/service.yaml deleted file mode 100644 index 913ef47..0000000 --- a/home-assistant/service.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: home-assistant-external -spec: - type: ExternalName - externalName: 192.168.1.202 - ports: - - port: 8123 - protocol: TCP \ No newline at end of file