added SSO, ingress to ingressRoute
All checks were successful
/ continuous-deploy (push) Successful in 19s
All checks were successful
/ continuous-deploy (push) Successful in 19s
This commit is contained in:
@@ -4,12 +4,17 @@ Welcome to public repository of my [Git Server](https://git.limbosolutions.com)
|
||||
|
||||
Using [gitea](https://git.limbosolutions.com/kb/gitea) as git server.
|
||||
|
||||
- [SSO](#sso)
|
||||
- [Deploy](#deploy)
|
||||
- [Continuous Deploy](#continuous-deploy)
|
||||
- [App](#app)
|
||||
- [Infra](#infra)
|
||||
- [Backups](#backups)
|
||||
|
||||
## SSO
|
||||
|
||||
<https://integrations.goauthentik.io/development/gitea/>
|
||||
|
||||
## Deploy
|
||||
|
||||
References:
|
||||
|
||||
11
deploy/infra/certificate.yaml
Normal file
11
deploy/infra/certificate.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: limbosolutions-com-tls
|
||||
spec:
|
||||
secretName: limbosolutions-com-tls
|
||||
issuerRef:
|
||||
name: leftencrypt-prod
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
- git.limbosolutions.com
|
||||
@@ -3,8 +3,10 @@ kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- cd-serviceaccount.yaml
|
||||
- ingress.yaml
|
||||
- network-policies.yaml
|
||||
- certificate.yaml
|
||||
- websecure-ingress-route.yaml
|
||||
- public-https-ingress-route.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
|
||||
15
deploy/infra/public-https-ingress-route.yaml
Normal file
15
deploy/infra/public-https-ingress-route.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: public-https
|
||||
spec:
|
||||
entryPoints:
|
||||
- public-https
|
||||
routes:
|
||||
- match: Host(`git.limbosolutions.com`) && !PathPrefix(`-/admin`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: gitea-http
|
||||
port: 3000
|
||||
tls:
|
||||
secretName: limbosolutions-com-tls
|
||||
15
deploy/infra/websecure-ingress-route.yaml
Normal file
15
deploy/infra/websecure-ingress-route.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: websecure
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`git.limbosolutions.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: gitea-http
|
||||
port: 3000
|
||||
tls:
|
||||
secretName: limbosolutions-com-tls
|
||||
Reference in New Issue
Block a user