Start working on gitea
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
42f9dcb6c8
commit
7670dfe469
5 changed files with 255 additions and 0 deletions
24
files/gitea/gitea-ingress.yaml
Normal file
24
files/gitea/gitea-ingress.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gitea
|
||||
namespace: gitea
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- gitea.local
|
||||
secretName: ingress-secrets
|
||||
rules:
|
||||
- host: gitea.local
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: gitea
|
||||
servicePort: 443
|
||||
- backend:
|
||||
serviceName: gitea-ssh
|
||||
servicePort: 22
|
||||
Loading…
Add table
Add a link
Reference in a new issue