fix: update RabbitMQ password for devops service in production environment

This commit is contained in:
Nicolas 2025-08-07 13:18:52 +08:00
parent 237deb2816
commit de290f97b6
2 changed files with 62 additions and 52 deletions

View File

@ -2,59 +2,35 @@ global:
registry: docker.io registry: docker.io
repository: freeleaps repository: freeleaps
nodeSelector: {} nodeSelector: {}
dashboard: logIngest:
enabled: true enabled: false
name: freeleaps-prod-authentication-dashboard devops:
title: Authentication Service Dashboard (PROD)
metricsPrefix: freeleaps_authentication
authentication:
replicas: 1 replicas: 1
image: image:
registry: docker.io registry: docker.io
repository: null repository: null
name: authentication name: devops
tag: snapshot-40e0faf tag: snapshot-aa89bce
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 8004 containerPort: 8014
protocol: TCP protocol: TCP
resources: resources:
requests: requests:
cpu: 200m cpu: '0.1'
memory: 64Mi memory: 64Mi
limits: limits:
cpu: 300m cpu: '0.2'
memory: 128Mi memory: 128Mi
probes: probes: {}
readiness:
type: httpGet
config:
path: /api/_/readyz
port: 8004
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
liveness:
type: httpGet
config:
path: /api/_/livez
port: 8004
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
terminationGracePeriodSeconds: 30
services: services:
- name: authentication-service - name: devops-service
type: ClusterIP type: ClusterIP
port: 8004 port: 8014
targetPort: 8004 targetPort: 8014
serviceMonitor: serviceMonitor:
enabled: true enabled: false
labels: labels:
release: kube-prometheus-stack release: kube-prometheus-stack
namespace: freeleaps-monitoring-system namespace: freeleaps-monitoring-system
@ -63,27 +39,40 @@ authentication:
ingresses: {} ingresses: {}
configs: configs:
tz: UTC tz: UTC
appName: authentication appName: devops
devsvcWebapiUrlBase: http://devsvc-service.freeleaps-prod.svc.freeleaps.cluster:8007/api/devsvc/ jwtSecretKey: ''
notificationWebapiUrlBase: http://notification-service.freeleaps-prod.svc.freeleaps.cluster:8003/api/notification/
jwtSecretKey: ea84edf152976b2fcec12b78aa8e45bc26a5cf0ef61bf16f5c317ae33b3fd8b0
jwtAlgorithm: HS256 jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0 accessTokenExpireMinutes: '3600'
serviceApiAccessPort: 8004 refreshTokenExpireDays: '1'
mongodbName: freeleaps2 appMongodbName: freeleaps2
mongodbPort: 27017 appMongodbPort: '27017'
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority appMongodbUri: mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/
metricsEnabled: 'true' metricsEnabled: 'false'
probesEnabled: 'true' probesEnabled: 'true'
baseGiteaUrl: https://alpha.gitea.freeleaps.mathmast.com
baseReconcileUrl: http://freeleaps-alpha-devops-reconciler-freeleaps-devops-reconciler.freeleaps-alpha.svc.freeleaps.cluster:5000
baseLokiUrl: http://loki-gateway.freeleaps-logging-system
logBasePath: /app/log/devops
logRetention: 30 days
logRotation: 00:00
logBackupFiles: '5'
logRotationBytes: '10485760'
mockMode: 'false'
mockResponseDelay: '1000'
rabbitmqHost: freeleaps-alpha-rabbitmq.freeleaps-alpha.svc.freeleaps.cluster
rabbitmqPort: 5672
rabbitmqUsername: user
rabbitmqPassword: NjlhHFvnDuC7K0ir
rabbitmqVirtualHost: /
vpa: vpa:
minAllowed: minAllowed:
enabled: true enabled: false
cpu: 50m cpu: 100m
memory: 64Mi memory: 64Mi
maxAllowed: maxAllowed:
enabled: true enabled: true
cpu: 200m cpu: 100m
memory: 128Mi memory: 128Mi
controlledResources: controlledResources:
- cpu - cpu
- memory - memory

View File

@ -114,6 +114,27 @@ executeFreeleapsPipeline {
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'], imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials', registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
semanticReleaseEnabled: true semanticReleaseEnabled: true
],
[
name: 'devops',
root: 'apps/devops',
language: 'python',
dependenciesManager: 'pip',
requirementsFile: 'requirements.txt',
buildCacheEnabled: true,
buildAgentImage: 'python:3.12-slim',
buildArtifacts: ['.'],
lintEnabled: false,
sastEnabled: false,
imageRegistry: 'docker.io',
imageRepository: 'freeleaps',
imageName: 'devops',
imageBuilder: 'dind',
dockerfilePath: 'Dockerfile',
imageBuildRoot: '.',
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
semanticReleaseEnabled: true
] ]
] ]
} }