366 lines
6.1 KiB
YAML
366 lines
6.1 KiB
YAML
global:
|
|
image:
|
|
registry: "harbor.gitdata.me/app"
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
namespace: "gitdataai"
|
|
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
gitdata:
|
|
enabled: true
|
|
replicaCount: 1
|
|
image:
|
|
name: gitdata-gitdata
|
|
registry: ""
|
|
tag: ""
|
|
|
|
env:
|
|
APP_API_PORT: "8080"
|
|
APP_OTEL_SERVICE_NAME: "gitdata-api"
|
|
APP_GIT_RPC_ADDR: ""
|
|
APP_GIT_RPC_PORT: "50051"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
annotations: {}
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 1Gi
|
|
startupProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
failureThreshold: 30
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: http
|
|
periodSeconds: 15
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: http
|
|
periodSeconds: 10
|
|
|
|
podAnnotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "8080"
|
|
prometheus.io/path: "/metrics"
|
|
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
fsGroup: 1000
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
allowPrivilegeEscalation: false
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
volumes: []
|
|
volumeMounts: []
|
|
|
|
|
|
gitpod:
|
|
enabled: true
|
|
replicaCount: 1
|
|
image:
|
|
name: gitdata-gitpod
|
|
registry: ""
|
|
tag: ""
|
|
|
|
env:
|
|
APP_GIT_HTTP_PORT: "8080"
|
|
APP_SSH_PORT: "2222"
|
|
APP_GIT_RPC_ADDR: "0.0.0.0"
|
|
APP_GIT_RPC_PORT: "50051"
|
|
APP_OTEL_SERVICE_NAME: "gitpod"
|
|
APP_SSH_DOMAIN: ""
|
|
APP_GIT_HTTP_DOMAIN: ""
|
|
APP_REPOS_ROOT: "/data/repos"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
annotations: {}
|
|
|
|
sshService:
|
|
type: LoadBalancer
|
|
port: 2222
|
|
annotations: {}
|
|
|
|
rpcService:
|
|
type: ClusterIP
|
|
port: 50051
|
|
annotations: {}
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: 2000m
|
|
memory: 2Gi
|
|
|
|
startupProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
failureThreshold: 30
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: http
|
|
periodSeconds: 20
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: http
|
|
periodSeconds: 15
|
|
|
|
podAnnotations: {}
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
fsGroup: 1000
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
allowPrivilegeEscalation: false
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
|
|
# -- SSH host key secret (mount to /etc/ssh)
|
|
sshHostKeySecret: ""
|
|
|
|
# -- Data volumes (repos storage)
|
|
volumes: []
|
|
volumeMounts: []
|
|
|
|
|
|
gitsync:
|
|
enabled: true
|
|
replicaCount: 1
|
|
image:
|
|
name: gitdata-gitsync
|
|
registry: ""
|
|
tag: ""
|
|
|
|
env:
|
|
APP_GITSYNC_HEALTH_PORT: "8081"
|
|
APP_OTEL_SERVICE_NAME: "gitsync"
|
|
APP_REPOS_ROOT: "/data/repos"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8081
|
|
annotations: {}
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
startupProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: health
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
failureThreshold: 30
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: health
|
|
periodSeconds: 30
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: health
|
|
periodSeconds: 15
|
|
|
|
podAnnotations: {}
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
fsGroup: 1000
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
allowPrivilegeEscalation: false
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
|
|
|
|
volumes: []
|
|
volumeMounts: []
|
|
|
|
|
|
email:
|
|
enabled: true
|
|
replicaCount: 1
|
|
image:
|
|
name: gitdata-email
|
|
registry: ""
|
|
tag: ""
|
|
|
|
env:
|
|
APP_EMAIL_HEALTH_PORT: "8083"
|
|
APP_OTEL_SERVICE_NAME: "email-service"
|
|
|
|
service:
|
|
enabled: false
|
|
type: ClusterIP
|
|
port: 8083
|
|
annotations: {}
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
|
|
startupProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: health
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
failureThreshold: 30
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: health
|
|
periodSeconds: 30
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: health
|
|
periodSeconds: 15
|
|
|
|
podAnnotations: {}
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
fsGroup: 1000
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
allowPrivilegeEscalation: false
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
volumes: []
|
|
volumeMounts: []
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "cloudflare-acme-cluster-issuer"
|
|
api:
|
|
hosts:
|
|
- host: dev.gitdata.ai
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- dev.gitdata.ai
|
|
secretName: dev-gitdata-ai-tls
|
|
git:
|
|
hosts:
|
|
- host: gitdev.gitdata.ai
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- gitdev.gitdata.ai
|
|
secretName: gitdev-gitdata-ai-tls
|
|
|
|
serviceMonitor:
|
|
enabled: false
|
|
interval: 30s
|
|
labels: {}
|
|
annotations: {}
|
|
services:
|
|
gitdata: true
|
|
gitpod: true
|
|
gitsync: true
|
|
email: true
|
|
|
|
autoscaling:
|
|
gitdata:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: ""
|
|
gitpod:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 5
|
|
targetCPUUtilizationPercentage: 75
|
|
targetMemoryUtilizationPercentage: ""
|
|
gitsync:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 5
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: ""
|
|
email:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 3
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: ""
|
|
|
|
podDisruptionBudget:
|
|
enabled: false
|
|
gitdata:
|
|
minAvailable: 1
|
|
gitpod:
|
|
minAvailable: 1
|
|
gitsync:
|
|
minAvailable: ""
|
|
email:
|
|
minAvailable: ""
|