91 lines
2.0 KiB
YAML
91 lines
2.0 KiB
YAML
# Default values for ai-git-bot.
|
|
# Everything except the database connection and encryption key (AI providers, Git
|
|
# integrations, bots, prompts) is configured in the web UI and stored in PostgreSQL.
|
|
|
|
image:
|
|
repository: tmseidel/ai-git-bot
|
|
tag: "1.27.0"
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Existing Secret with the app credentials. Every key is exposed to the app as an
|
|
# env var (envFrom). Required keys: DATABASE_USERNAME, DATABASE_PASSWORD,
|
|
# APP_ENCRYPTION_KEY. Optional: GITEABOT_SECURITY_OAUTH_CLIENT_ID,
|
|
# GITEABOT_SECURITY_OAUTH_CLIENT_SECRET (when loginMethod is "oauth").
|
|
existingSecret: ai-git-bot-secrets
|
|
|
|
# Public base URL of the bot (APP_PUBLIC_URL). Defaults to https://<ingress.host>.
|
|
publicUrl: ""
|
|
|
|
# Web UI login: "native" (DB-backed login form) or "oauth" (OIDC).
|
|
loginMethod: native
|
|
oauth:
|
|
issuerUri: ""
|
|
scope: "openid,profile"
|
|
userNameAttribute: preferred_username
|
|
|
|
prometheus:
|
|
enabled: false
|
|
|
|
# Additional plain env vars (see doc/DEPLOYMENT.md upstream for the full list).
|
|
env: {}
|
|
|
|
replicaCount: 1
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 1Gi
|
|
limits:
|
|
cpu: "2"
|
|
memory: 3Gi
|
|
|
|
# Agent workspaces (repo clones, builds, test runs) are created under /tmp.
|
|
tmpVolume:
|
|
sizeLimit: 10Gi
|
|
|
|
podSecurityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
fsGroup: 1000
|
|
runAsNonRoot: true
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: traefik
|
|
host: ""
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
tlsSecretName: ai-git-bot-tls
|
|
|
|
postgresql:
|
|
# Set to false and provide DATABASE_URL (via env or the secret) to use an external database.
|
|
enabled: true
|
|
image: postgres:17-alpine
|
|
database: giteabot
|
|
storage:
|
|
size: 5Gi
|
|
storageClassName: ""
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|