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 ssh: 30022
ingress: ingress:
enabled: true enabled: false
annotations: # annotations:
cert-manager.io/cluster-issuer: letsencrypt-production # cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure # traefik.ingress.kubernetes.io/router.entrypoints: websecure
hostname: &host "budget.${SECRET_NEW_DOMAIN}" # hostname: &host "budget.${SECRET_NEW_DOMAIN}"
#
tls: true # tls: true
extraTls: # selfSigned: false
- hosts: #
- *host # extraTls:
secretName: wildcard-main-tls # - hosts:
# - *host
secrets: nil # secretName: wildcard-main-tls
#
# secrets: nil
# secrets: # secrets:
# - wildcard-main-tls # - 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: resources:
- ./gitea-secret.sops.yaml - ./gitea-secret.sops.yaml
- ./gitea-sidecar-secret.sops.yaml - ./gitea-sidecar-secret.sops.yaml
- ./helm-release.yaml - ./helm-release.yaml
- ./ingress.yaml