27 lines
573 B
YAML
27 lines
573 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
kubernetes.io/tls-acme: "true"
|
|
labels:
|
|
app.kubernetes.io/name: forgejo-ingress
|
|
app.kubernetes.io/instance: forgejo
|
|
app: forgejo-ingress
|
|
name: forgejo-ingress
|
|
namespace: forgejo
|
|
spec:
|
|
rules:
|
|
- host: git.svc.neuber.io
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: forgejo-service
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- git.svc.neuber.io
|
|
secretName: forgejo-tls-key
|