Files
k8s-configs/clusters/k8s-avroid-office.prod.local/namespaces/avroid-prod/automations-tools/webhook-receiver/values-override.yaml
Boris Shestov 23896dc0f7 [hotfix] Change config (!142)
[hotfix] Change config

Co-authored-by: Boris Shestov <shestov1989@mail.ru>
Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/142
Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
2025-03-13 18:46:31 +03:00

68 lines
1.7 KiB
YAML

replicaCount: 2
image:
repository: ghcr.io/actual-devops/webhook-receiver
pullPolicy: IfNotPresent
tag: "0.2.0-1"
serviceAccount:
create: false
automount: true
annotations: {}
name: "vault"
ingress:
enabled: true
className: "nginx"
annotations:
kubernetes.io/ingress.class: nginx
hosts:
- host: webhook-receiver.avroid.tech
paths:
- path: /
pathType: ImplementationSpecific
tls: []
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 50m
memory: 64Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
volumeMounts: []
configMap:
configPath: "/vault/secrets/config.yaml"
configTemplate: |
{{ with secret "team-devops/data/services/ci-cd/webhook-receiver" }}
server_port: 8081
jenkins:
url: "https://jenkins.avroid.tech"
user: {{ .Data.data.jenkins_user }}
pass: {{ .Data.data.jenkins_pass }}
token: {{ .Data.data.jenkins_token }}
allowed_webhooks:
- repo_name: 'DevOps/ansible'
run_jobs:
- job_path: 'job/Automation/job/DevOps/job/vault-policies-and-roles-update'
parameterized_job: false
- repo_name: 'DevOps/jenkins-pipelines'
run_jobs:
- job_path: 'job/jobs-dsl/job/jobs-dsl'
parameterized_job: true
{{ end }}
annotations:
vault.security.banzaicloud.io/vault-addr: "https://vault.avroid.tech"
vault.security.banzaicloud.io/vault-role: "avroid-prod"
vault.security.banzaicloud.io/vault-skip-verify: "false"
vault.security.banzaicloud.io/vault-path: "avroid-office"
vault.security.banzaicloud.io/run-as-user: "100"