ascii-live/deployment/deployment.yaml
franz.germann 0ac58cfdbb
All checks were successful
ci / build (push) Successful in 44s
updates host in deployment.yaml
2025-04-28 14:05:38 +02:00

60 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ascii-live
namespace: ascii-live
spec:
selector:
matchLabels:
app: ascii-live
template:
metadata:
labels:
app: ascii-live
spec:
containers:
- image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/franz.germann/ascii-live:development
name: ascii-live
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: ascii-live
namespace: ascii-live
spec:
selector:
app: ascii-live
type: NodePort
ports:
- protocol: TCP
targetPort: 8080
port: 8080
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ascii-live
namespace: ascii-live
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
kubernetes.io/preserve-host: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
rules:
- host: https://factory.c-one-infra.de
http:
paths:
- path: /ascii-live
pathType: Prefix
backend:
service:
name: ascii-live
port:
number: 8080
tls:
- secretName: ascii-live-tls-prod-cert
hosts:
- https://factory.c-one-infra.de