2025-07-21 07:33:35 +00:00
|
|
|
global:
|
|
|
|
|
registry: docker.io
|
|
|
|
|
repository: freeleaps
|
|
|
|
|
nodeSelector: {}
|
|
|
|
|
devops:
|
|
|
|
|
replicas: 1
|
|
|
|
|
image:
|
|
|
|
|
registry:
|
|
|
|
|
repository: freeleaps
|
|
|
|
|
name: devops
|
|
|
|
|
tag: 1.0.0
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 8014
|
|
|
|
|
protocol: TCP
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: "0.1"
|
|
|
|
|
memory: "64Mi"
|
|
|
|
|
limits:
|
|
|
|
|
cpu: "0.2"
|
|
|
|
|
memory: "128Mi"
|
|
|
|
|
# FIXME: Wait until the developers implements the probes APIs
|
|
|
|
|
probes: {}
|
|
|
|
|
services:
|
|
|
|
|
- name: devops-service
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
port: 8014
|
|
|
|
|
targetPort: 8014
|
|
|
|
|
serviceMonitor:
|
|
|
|
|
enabled: false
|
|
|
|
|
labels:
|
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
namespace: freeleaps-monitoring-system
|
|
|
|
|
interval: 30s
|
|
|
|
|
scrapeTimeout: ""
|
|
|
|
|
# Defaults to {}, which means doesn't have any ingress
|
|
|
|
|
ingresses: {}
|
|
|
|
|
configs:
|
2025-07-23 10:36:48 +00:00
|
|
|
# Basic configuration
|
2025-07-21 07:33:35 +00:00
|
|
|
tz: "UTC"
|
|
|
|
|
appName: "devops"
|
|
|
|
|
jwtAlgorithm: "HS256"
|
|
|
|
|
accessTokenExpireMinutes: "3600"
|
|
|
|
|
refreshTokenExpireDays: "1"
|
2025-07-23 10:36:48 +00:00
|
|
|
# MongoDB configuration
|
2025-08-02 19:18:09 +00:00
|
|
|
appMongodbName: ""
|
|
|
|
|
appMongodbPort: "27017"
|
2025-07-23 10:36:48 +00:00
|
|
|
# Feature switches
|
2025-07-21 07:33:35 +00:00
|
|
|
metricsEnabled: "false"
|
|
|
|
|
probesEnabled: "true"
|
2025-07-23 10:36:48 +00:00
|
|
|
# External service URLs
|
2025-07-21 07:33:35 +00:00
|
|
|
baseGiteaUrl: "https://gitea.freeleaps.mathmast.com"
|
|
|
|
|
baseReconcileUrl: "https://reconcile.freeleaps.mathmast.com"
|
|
|
|
|
baseLokiUrl: "http://loki-gateway.freeleaps-logging-system"
|
2025-07-23 10:36:48 +00:00
|
|
|
# Log configuration
|
2025-07-21 07:33:35 +00:00
|
|
|
logBasePath: "/app/log"
|
|
|
|
|
logRetention: "30 days"
|
|
|
|
|
logRotation: "00:00"
|
|
|
|
|
logBackupFiles: "5"
|
|
|
|
|
logRotationBytes: "10485760"
|
2025-07-23 10:36:48 +00:00
|
|
|
# Mock mode configuration
|
2025-07-21 07:33:35 +00:00
|
|
|
mockMode: "false"
|
|
|
|
|
mockResponseDelay: "1000"
|
2025-08-18 10:06:26 +00:00
|
|
|
# AKV secrets configuration
|
|
|
|
|
secrets:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: FreeleapsSecretStore
|
|
|
|
|
name: freeleaps-main-secret-store
|
|
|
|
|
target:
|
|
|
|
|
name: "freeleaps-devops-secrets"
|
|
|
|
|
creationPolicy: "Owner"
|
|
|
|
|
refreshInterval: 30s
|
|
|
|
|
data:
|
|
|
|
|
- key: appMongodbUri
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-mongodb-uri"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: rabbitmqPassword
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-rabbitmq-password"
|
|
|
|
|
type: Secret
|
2025-07-21 07:33:35 +00:00
|
|
|
vpa:
|
|
|
|
|
minAllowed:
|
|
|
|
|
enabled: false
|
|
|
|
|
cpu: 100m
|
|
|
|
|
memory: 64Mi
|
|
|
|
|
maxAllowed:
|
|
|
|
|
enabled: true
|
|
|
|
|
cpu: 100m
|
|
|
|
|
memory: 128Mi
|
|
|
|
|
controlledResources:
|
|
|
|
|
- cpu
|
|
|
|
|
- memory
|