first commit
This commit is contained in:
83
apps/gitea/values.yaml
Normal file
83
apps/gitea/values.yaml
Normal file
@@ -0,0 +1,83 @@
|
||||
# Gitea Helm Values
|
||||
# Reference: https://gitea.com/gitea/helm-chart/
|
||||
|
||||
# Gitea server configuration
|
||||
gitea:
|
||||
config:
|
||||
server:
|
||||
DOMAIN: gitea.duylai.duckdns.org
|
||||
ROOT_URL: https://gitea.duylai.duckdns.org/
|
||||
SSH_DOMAIN: gitea.duylai.duckdns.org
|
||||
SSH_LISTEN_PORT: 22
|
||||
SSH_PORT: 30222
|
||||
|
||||
# Service configuration
|
||||
service:
|
||||
http:
|
||||
type: ClusterIP
|
||||
clusterIP: ""
|
||||
ssh:
|
||||
type: NodePort
|
||||
nodePort: 30222
|
||||
|
||||
# Persistence for Git data
|
||||
persistence:
|
||||
enabled: true
|
||||
create: true
|
||||
claimName: gitea-shared-storage
|
||||
size: 10Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
|
||||
# PostgreSQL HA configuration
|
||||
postgresql-ha:
|
||||
enabled: true
|
||||
|
||||
postgresql:
|
||||
# Number of PostgreSQL replicas (minimum 3 for HA)
|
||||
replicaCount: 3
|
||||
|
||||
# Resource limits (fixed for OOM issues)
|
||||
resources:
|
||||
limits:
|
||||
cpu: 375m
|
||||
memory: 768Mi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 512Mi
|
||||
|
||||
persistence:
|
||||
size: 10Gi
|
||||
|
||||
pgpool:
|
||||
enabled: true
|
||||
|
||||
# Resource limits (fixed for OOM issues)
|
||||
resources:
|
||||
limits:
|
||||
cpu: 375m
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 384Mi
|
||||
|
||||
# Valkey (Redis) cluster configuration
|
||||
valkey-cluster:
|
||||
cluster:
|
||||
# Number of nodes (minimum 3 for cluster)
|
||||
nodes: 3
|
||||
|
||||
# Resource limits
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150m
|
||||
memory: 192Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
# Disable single PostgreSQL (using HA version)
|
||||
postgresql:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user