freeleaps-ops/freeleaps-secret-operator/prod/ci/Jenkinsfile
zhenyus a68e0f3f6f feat: enable apiServerService in Helm values and update service template
- Added `apiServerService` configuration to `values.prod.yaml` and `values.yaml`, enabling the service.
- Updated the service template to use the new `apiServerService` configuration instead of the deprecated `metrics` configuration.

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

35 lines
1.1 KiB
Groovy

@Library('first-class-pipeline') _
executeFreeleapsPipeline {
serviceName = 'freeleaps-secret-operator'
environmentSlug = 'prod'
serviceGitBranch = 'main'
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-secret-operator.git"
serviceGitRepoType = 'monorepo'
serviceGitCredentialsId = 'freeleaps-ops-git-credentials'
executeMode = 'fully'
commitMessageLintEnabled = false
components = [
[
name: 'secretOperator',
root: 'secretoperator',
language: 'python',
dependenciesManager: 'pip',
requirementsFile: 'requirements.txt',
buildCacheEnabled: true,
buildAgentImage: 'python:3.8-slim',
buildArtifacts: ['.'],
lintEnabled: false,
sastEnabled: false,
imageRegistry: 'docker.io',
imageRepository: 'freeleaps',
imageName: 'secret-operator',
imageBuilder: 'dind',
dockerfilePath: '../hack/Dockerfile',
imageBuildRoot: '..',
imageReleaseArchitectures: ['linux/amd64', 'linux/arm64/v8'],
registryCredentialsId: 'freeleaps-devops-docker-hub-credentials',
semanticReleaseEnabled: true
]
]
}