22 lines
467 B
YAML
22 lines
467 B
YAML
|
apiVersion: networking.k8s.io/v1beta1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: gitea
|
||
|
labels:
|
||
|
app: gitea
|
||
|
annotations:
|
||
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||
|
spec:
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- ${GITEA_EXTERNAL_HOST}
|
||
|
secretName: letsencrypt-cert
|
||
|
rules:
|
||
|
- host: ${GITEA_EXTERNAL_HOST}
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
backend:
|
||
|
serviceName: gitea-http
|
||
|
servicePort: http
|