83 lines
1.9 KiB
YAML
83 lines
1.9 KiB
YAML
# =============================================================================
|
|
# Global / common settings
|
|
# =============================================================================
|
|
namespace: gitdataai
|
|
releaseName: admin
|
|
|
|
image:
|
|
registry: harbor.gitdata.me/gta_team
|
|
pullPolicy: IfNotPresent
|
|
pullSecrets: [ ]
|
|
|
|
# =============================================================================
|
|
# Cert-Manager Configuration (集群已安装 cert-manager)
|
|
# =============================================================================
|
|
certManager:
|
|
enabled: true
|
|
clusterIssuerName: cloudflare-acme-cluster-issuer
|
|
|
|
externalSecrets:
|
|
storeName: vault-backend
|
|
storeKind: SecretStore
|
|
|
|
admin:
|
|
enabled: true
|
|
replicaCount: 2
|
|
|
|
image:
|
|
repository: admin
|
|
tag: latest
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 3000
|
|
|
|
ingress:
|
|
enabled: true
|
|
hosts:
|
|
- admin.gitdata.me
|
|
# tlsSecret: my-tls-secret # uncomment to use a pre-existing TLS secret (overrides cert-manager auto-issue)
|
|
annotations:
|
|
# cert-manager.io/cluster-issuer: cloudflare-acme-cluster-issuer # auto-set by template when certManager.enabled=true
|
|
kubernetes.io/ingress.class: nginx
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
|
|
livenessProbe:
|
|
path: /api/health
|
|
port: 3000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
|
|
readinessProbe:
|
|
path: /api/health
|
|
port: 3000
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
|
|
config:
|
|
appUrl: ""
|
|
appDomain: ""
|
|
nodeEnv: production
|
|
|
|
secretKeys:
|
|
databaseUrl: APP_DATABASE_URL
|
|
redisUrl: APP_REDIS_URL
|
|
nextAuthSecret: APP_NEXTAUTH_SECRET
|
|
|
|
env: [ ]
|
|
|
|
nodeSelector: { }
|
|
tolerations: [ ]
|
|
affinity: { }
|
|
|
|
secrets:
|
|
enabled: true
|
|
databaseUrl: "postgresql://gitdataai:gitdataai123@cnpg-cluster-rw.cnpg:5432/gitdataai?sslmode=disable"
|
|
redisUrl: "redis://:redis123@valkey-cluster.valkey-cluster.svc.cluster.local:6379"
|
|
nextAuthSecret: ""
|
|
extra: { }
|