k8s/ingress.yaml: enable tls acme
This commit is contained in:
parent
5c1a00dfe3
commit
36b7670b1c
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/tls-acme: "true"
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: forgejo-ingress
|
app.kubernetes.io/name: forgejo-ingress
|
||||||
app.kubernetes.io/instance: forgejo
|
app.kubernetes.io/instance: forgejo
|
||||||
|
@ -18,4 +20,8 @@ spec:
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- git.svc.neuber.io
|
||||||
|
secretName: forgejo-tls-key
|
||||||
|
|
Loading…
Reference in a new issue