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

View File

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