node-red add service and ingress
All checks were successful
Deploy Casa services CI/CD Pipeline / deploy (push) Successful in 17s

This commit is contained in:
2025-12-21 01:17:47 +00:00
parent a3f1ceaa0f
commit a4d0fd8002
4 changed files with 31 additions and 0 deletions

View File

@@ -3,5 +3,6 @@ kind: Kustomization
resources:
- pvc.yaml
- deployment.yaml
- service.yaml
generatorOptions:
disableNameSuffixHash: true

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: node-red
namespace: node-red
spec:
selector:
app: node-red
ports:
- protocol: TCP
port: 1880
targetPort: 1880
type: ClusterIP

View File

@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: node-red
namespace: node-red
spec:
entryPoints:
- websecure
routes:
- match: Host(`node-red.casa.limbosolutions.com`)
kind: Rule
services:
- name: node-red
port: 1880
tls:
secretName: casa-limbosolutions-com-tls

View File

@@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- ingress.yaml
generatorOptions:
disableNameSuffixHash: true