fix: set SA for Jenkins Agents

This commit is contained in:
Stefan Reimer 2024-06-17 16:42:09 +00:00
parent 5422d19711
commit ec97b9ae6d

View File

@ -90,7 +90,7 @@ jenkins:
controller: controller:
image: image:
tag: alpine-jdk17 tag: lts-alpine-jdk21
#tagLabel: alpine #tagLabel: alpine
disableRememberMe: true disableRememberMe: true
prometheus: prometheus:
@ -183,12 +183,12 @@ jenkins:
agent: agent:
image: image:
repository: public.ecr.aws/zero-downtime/jenkins-podman repository: public.ecr.aws/zero-downtime/jenkins-podman
tag: v0.5.0 tag: v0.5.1
#alwaysPullImage: true #alwaysPullImage: true
podRetention: "Default" podRetention: "Default"
showRawYaml: false showRawYaml: false
podName: "podman-aws" podName: "podman-aws"
serviceAccount: jenkins-podman-aws defaultsProviderTemplate: "podman-aws"
annotations: annotations:
container.apparmor.security.beta.kubernetes.io/jnlp: unconfined container.apparmor.security.beta.kubernetes.io/jnlp: unconfined
customJenkinsLabels: customJenkinsLabels:
@ -217,6 +217,7 @@ jenkins:
spec: spec:
securityContext: securityContext:
fsGroup: 1000 fsGroup: 1000
serviceAccountName: jenkins-podman-aws
containers: containers:
- name: jnlp - name: jnlp
resources: resources:
@ -273,7 +274,7 @@ jenkins:
trivy: trivy:
enabled: false enabled: false
image: image:
tag: 0.50.1 tag: 0.52.1
persistence: persistence:
enabled: true enabled: true
size: 1Gi size: 1Gi