I am using this chart to install jenkins:
But when I try to set a specific version of jenkins to use in the values file its ignored:
values:
rbac:
create: true
readSecrets: true
controller:
image: "jenkins/jenkins"
tag: "2.319.1-jdk11"
$ helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
jenkins jenkins 1 2022-03-01 00:44:32.678319869 +0000 UTC deployed jenkins-3.11.4 2.319.3
The deployed jenkins sts has:
kubectl get sts jenkins -oyaml | grep jenkins/jenkins
image: jenkins/jenkins:2.319.3-jdk11
image: jenkins/jenkins:2.319.3-jdk11
Based on the default values I would expect I could specify the jenkins version:
What am I missing?
halkeye
(Gavin Mogan)
March 1, 2022, 1:05am
2
that’s pretty suspicious indenting. Why is there values? Why is there one level before values?
I am installing jenkins through flux:
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: jenkins
namespace: jenkins
annotations:
flux.weave.works/automated: "true"
spec:
releaseName: jenkins
interval: 5m
chart:
spec:
chart: jenkins
version: 3.11.4
sourceRef:
kind: HelmRepository
name: jenkins
namespace: flux-system
values:
rbac:
create: true
readSecrets: true
controller:
image: "jenkins/jenkins"
tag: "2.319.1-jdk11"
installPlugins:
- kubernetes:1.29.4
- git:4.7.1
- configuration-as-code:1.51
Jenkins comes up fine and the listed plugins are installed but for some reason it keeps forcing version 2.319.3 of jenkins.
halkeye
(Gavin Mogan)
March 1, 2022, 1:14am
4
Its the same indenting i have, so I would recommend looking at flux logs or something.
1 Like
Arg flux reconciler was failing after fixing that it works as expected sorry for wasting your time!