fix gitea

This commit is contained in:
SeanOMik 2023-06-04 01:39:51 -04:00
parent d945b5d56b
commit 3368f50ab4
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
3 changed files with 41 additions and 14 deletions

View File

@ -58,19 +58,21 @@ spec:
ssh: 30022
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hostname: &host "budget.${SECRET_NEW_DOMAIN}"
tls: true
extraTls:
- hosts:
- *host
secretName: wildcard-main-tls
secrets: nil
enabled: false
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt-production
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
# hostname: &host "budget.${SECRET_NEW_DOMAIN}"
#
# tls: true
# selfSigned: false
#
# extraTls:
# - hosts:
# - *host
# secretName: wildcard-main-tls
#
# secrets: nil
# secrets:
# - wildcard-main-tls

View File

@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-ingress
namespace: default
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
rules:
- host: &host "git.${SECRET_NEW_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitea
port:
number: 80
tls:
- hosts:
- *host
secretName: wildcard-main-tls

View File

@ -3,4 +3,5 @@ kind: Kustomization
resources:
- ./gitea-secret.sops.yaml
- ./gitea-sidecar-secret.sops.yaml
- ./helm-release.yaml
- ./helm-release.yaml
- ./ingress.yaml