added SSO, ingress to ingressRoute
All checks were successful
/ continuous-deploy (push) Successful in 19s

This commit is contained in:
Márcio Fernandes
2026-03-28 00:44:00 +00:00
parent 9b36b595b8
commit b02303d51e
5 changed files with 49 additions and 1 deletions

View File

@@ -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. Using [gitea](https://git.limbosolutions.com/kb/gitea) as git server.
- [SSO](#sso)
- [Deploy](#deploy) - [Deploy](#deploy)
- [Continuous Deploy](#continuous-deploy) - [Continuous Deploy](#continuous-deploy)
- [App](#app) - [App](#app)
- [Infra](#infra) - [Infra](#infra)
- [Backups](#backups) - [Backups](#backups)
## SSO
<https://integrations.goauthentik.io/development/gitea/>
## Deploy ## Deploy
References: References:

View 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

View File

@@ -3,8 +3,10 @@ kind: Kustomization
resources: resources:
- namespace.yaml - namespace.yaml
- cd-serviceaccount.yaml - cd-serviceaccount.yaml
- ingress.yaml
- network-policies.yaml - network-policies.yaml
- certificate.yaml
- websecure-ingress-route.yaml
- public-https-ingress-route.yaml
generatorOptions: generatorOptions:
disableNameSuffixHash: true disableNameSuffixHash: true

View 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

View 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