feat: user worker registries.conf for jenkins-agent-pod

This commit is contained in:
Stefan Reimer 2022-08-23 16:32:33 +02:00
parent cef0143ff5
commit 7f17410283
2 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-ci
description: KubeZero umbrella chart for all things CI
type: application
version: 0.5.11
version: 0.5.12
home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords:
@ -26,7 +26,7 @@ dependencies:
repository: https://dl.gitea.io/charts/
condition: gitea.enabled
- name: jenkins
version: 4.1.14
version: 4.1.16
repository: https://charts.jenkins.io
condition: jenkins.enabled
- name: trivy

View File

@ -17,7 +17,7 @@ gitea:
enabled: false
image:
tag: 1.17.0
tag: 1.17.1
rootless: true
securityContext:
@ -174,6 +174,9 @@ jenkins:
- name: aws-token
mountPath: "/var/run/secrets/sts.amazonaws.com/serviceaccount/"
readOnly: true
- name: host-registries-conf
mountPath: "/home/jenkins/.config/containers/registries.conf"
readOnly: true
volumes:
- name: aws-token
projected:
@ -182,6 +185,10 @@ jenkins:
path: token
expirationSeconds: 86400
audience: "sts.amazonaws.com"
- name: host-registries-conf
hostPath:
path: /etc/containers/registries.conf
type: File
rbac:
readSecrets: true