fix gitea
This commit is contained in:
parent
d945b5d56b
commit
3368f50ab4
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue