fix gitea
This commit is contained in:
parent
d945b5d56b
commit
3368f50ab4
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
|
@ -4,3 +4,4 @@ resources:
|
|||
- ./gitea-secret.sops.yaml
|
||||
- ./gitea-sidecar-secret.sops.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./ingress.yaml
|
Loading…
Reference in New Issue