k8s/ingress.yaml: enable tls acme

This commit is contained in:
Tom Neuber 2024-06-26 21:27:22 +02:00
parent 5c1a00dfe3
commit 36b7670b1c
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -1,6 +1,8 @@
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
@ -19,3 +21,7 @@ spec:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- git.svc.neuber.io
secretName: forgejo-tls-key