ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

Another copy of Jenkins CasC "jenkins_user.yaml" will hinder the upgrade of "jenkins.yaml"

Open JohnNiang opened this issue 4 years ago • 3 comments

If we make some upgrades into jenkins.yaml, like bumping builders' image version, people who have already installed KubeSphere 3.2.0 won't obtain those upgrades after KubeSphere upgrade. Because the jenkins_user.yaml has been fixed after the first installation.

image

JohnNiang avatar Nov 13 '21 08:11 JohnNiang

After I upgrade helm chart of ks-devops, the new jenkins-casc-config ConfigMap won't be applied. Please see: image image

How to upgrade?

  1. Enter shell of ks-installer Pod
  2. Clone https://github.com/kubesphere-sigs/ks-devops-helm-chart.git from master branch and get in
  3. Execute the following command
    helm -n kubesphere-devops-system upgrade devops charts/ks-devops/ --install --reuse-values
    
  4. See the result

I don't have a solution right now, just let the problem emerge again.

JohnNiang avatar Mar 01 '22 09:03 JohnNiang

/cc @kubesphere/sig-devops

JohnNiang avatar Apr 11 '22 01:04 JohnNiang

I don't think this is a bug. Because this is expected according to our design. I prefer to have an enhancement. Considering the team's capacity, I'm going to lower the priority of this issue.

/remove-kind bug /remove-priority high /kind feature

LinuxSuRen avatar Apr 20 '22 01:04 LinuxSuRen