add http-server part 3
All checks were successful
ci / build (push) Successful in 1m19s

This commit is contained in:
Christopher Hase 2025-04-07 13:16:29 +02:00
parent 2fca0ec7e2
commit cf8bd4014b
3 changed files with 14 additions and 5 deletions

View file

@ -1,8 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: iching-broker-0-0-2
namespace: default
name: iching-broker-0-0-1
namespace: argocd
spec:
selector:
matchLabels:

View file

@ -2,9 +2,13 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: iching-ingress
namespace: argocd
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: 192-168-197-2.c-one-infra.de # z.B. iching.local
- host: 192-168-197-2.c-one-infra.de
http:
paths:
- path: /iching
@ -13,4 +17,8 @@ spec:
service:
name: iching-service
port:
number: 80
number: 80
tls:
- hosts:
- 192-168-197-2.c-one-infra.de
secretName: argocd-net-tls

View file

@ -2,9 +2,10 @@ apiVersion: v1
kind: Service
metadata:
name: iching-service
namespace: argocd
spec:
selector:
app: iching
app: iching-broker
ports:
- protocol: TCP
port: 80