fix: add ingress class annotation for gitea

This commit is contained in:
2026-06-18 13:21:11 +00:00
parent 7c266f0261
commit b208316733
+3 -9
View File
@@ -1,10 +1,10 @@
persistence: persistence:
storageClass: local-path storageClass: local-path
ingress: ingress:
enabled: true enabled: true
ingressClassName: nginx ingressClassName: nginx
annotations: annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-prod cert-manager.io/cluster-issuer: letsencrypt-prod
hosts: hosts:
- host: gitea.uzbutterfly.com - host: gitea.uzbutterfly.com
@@ -15,11 +15,10 @@ ingress:
- secretName: gitea-tls - secretName: gitea-tls
hosts: hosts:
- gitea.uzbutterfly.com - gitea.uzbutterfly.com
gitea: gitea:
admin: admin:
username: admin username: admin
password: _!Str0ngP@ssw0rd password: '_!Str0ngP@ssw0rd'
email: admin@uzbutterfly.com email: admin@uzbutterfly.com
config: config:
database: database:
@@ -27,7 +26,7 @@ gitea:
HOST: postgres-rw.database.svc.cluster.local:5432 HOST: postgres-rw.database.svc.cluster.local:5432
NAME: gitea NAME: gitea
USER: gitea USER: gitea
PASSWD: _!Str0ngP@ssw0rd PASSWD: '_!Str0ngP@ssw0rd'
cache: cache:
ADAPTER: redis ADAPTER: redis
HOST: redis://gitea-redis-master.gitea.svc.cluster.local:6379/0 HOST: redis://gitea-redis-master.gitea.svc.cluster.local:6379/0
@@ -37,18 +36,13 @@ gitea:
queue: queue:
TYPE: redis TYPE: redis
CONN_STR: redis://gitea-redis-master.gitea.svc.cluster.local:6379/2 CONN_STR: redis://gitea-redis-master.gitea.svc.cluster.local:6379/2
postgresql: postgresql:
enabled: false enabled: false
postgresql-ha: postgresql-ha:
enabled: false enabled: false
redis-cluster: redis-cluster:
enabled: false enabled: false
redis: redis:
enabled: false enabled: false
valkey-cluster: valkey-cluster:
enabled: false enabled: false