freeleaps-ops/freeleaps/helm-pkg/devsvc/values.alpha.yaml
zhenyus 6584ab12c5 refactor(devsvc): remove hardcoded Git password from values.alpha.yaml
- Eliminated the default Git password from the configuration file to enhance security and align with the secret management strategy.
- This change continues the effort to manage sensitive information more securely across the application.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 16:21:57 +08:00

141 lines
3.4 KiB
YAML

global:
registry: docker.io
repository: freeleaps
nodeSelector: {}
dashboard:
enabled: false
logIngest:
enabled: true
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
logPathPattern: /app/log/devsvc/*.log
logPath: /app/log/devsvc
devsvc:
replicas: 1
image:
registry: docker.io
repository: null
name: devsvc
tag: snapshot-a12ffcc
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8007
protocol: TCP
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
probes:
readiness:
type: httpGet
config:
path: /api/_/readyz
port: 8007
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
liveness:
type: httpGet
config:
path: /api/_/livez
port: 8007
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
terminationGracePeriodSeconds: 30
services:
- name: devsvc-service
type: ClusterIP
port: 8007
targetPort: 8007
serviceMonitor:
enabled: false
ingresses:
- name: devsvc-ingress
host: devsvc.freeleaps-alpha.com
class: nginx
rules:
- path: /
pathType: Prefix
backend:
service:
name: devsvc-service
port:
number: 8007
tls:
exists: false
issuerRef:
name: freeleaps-alpha-dot-com
kind: ClusterIssuer
name: devsvc.freeleaps-alpha.com-cert
configs:
tz: UTC
appName: devsvc
serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8007
mongodbName: freeleaps2
giteaUrl: http://freeleaps-alpha-gitea-http.freeleaps-alpha.svc.freeleaps.cluster:3000
giteaDepotOrganization: products
codeDepotHttpPort: 443
codeDepotSshPort: 22
codeDepotDomainName: alpha.gitea.freeleaps.mathmast.com
metricsEnabled: 'false'
probesEnabled: 'true'
logBasePath: /app/log/devsvc
rabbitmqHost: freeleaps-alpha-rabbitmq.freeleaps-alpha.svc.freeleaps.cluster
rabbitmqPort: 5672
rabbitmqUsername: user
rabbitmqVirtualHost: /
defaultGitUsername: freeleaps
devopsDockerRegistryUrl: https://hub.docker.com
devopsDockerRegistryRepositoryName: freeleapsdevops
devopsDockerRegistryUsername: freeleapsdevops
secrets:
secretStoreRef:
kind: FreeleapsSecretStore
name: freeleaps-main-secret-store
target:
name: "freeleaps-devsvc-secrets"
creationPolicy: "Owner"
refreshInterval: 30s
data:
- key: giteaToken
remoteRef:
key: "freeleaps-alpha-gitea-token"
type: Secret
- key: mongodbUri
remoteRef:
key: "freeleaps-alpha-mongodb-uri"
type: Secret
- key: rabbitmqPassword
remoteRef:
key: "freeleaps-alpha-rabbitmq-password"
type: Secret
- key: defaultGitPassword
remoteRef:
key: "freeleaps-alpha-gitea-password"
type: Secret
- key: devopsDockerRegistryPassword
remoteRef:
key: "freeleaps-alpha-devops-docker-registry-password"
type: Secret
vpa:
minAllowed:
enabled: false
cpu: 50m
memory: 64Mi
maxAllowed:
enabled: true
cpu: 200m
memory: 128Mi
controlledResources:
- cpu
- memory