All checks were successful
ci / build (push) Successful in 2m32s
Reviewed-on: #1 Co-authored-by: franz.germann <franz.germann@telekom.de> Co-committed-by: franz.germann <franz.germann@telekom.de>
60 lines
1.2 KiB
YAML
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: 192-168-197-2.traefik.me
|
|
http:
|
|
paths:
|
|
- path: /ascii-live
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: ascii-live
|
|
port:
|
|
number: 8080
|
|
tls:
|
|
- secretName: ascii-live-tls-prod-cert
|
|
hosts:
|
|
- 192-168-197-2.traefik.me
|