Home > Net >  Unable to install Jenkins from Helm chart
Unable to install Jenkins from Helm chart

Time:12-17

I'm attempting to install Jenkins from a Helm chart for the first time.

I run

helm repo add jenkins https://charts.jenkins.io
helm repo update
helm upgrade --install myjenkins jenkins/jenkins

But the service never starts. The pod logs show the following errors:

Plugin git:4.10.0 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54
        at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:222)
        at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:171)
        at io.jenkins.tools.pluginmanager.cli.Main.main(Main.java:70)
        Suppressed: io.jenkins.tools.pluginmanager.impl.PluginDependencyException: Plugin kubernetes:1.30.11 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54
                at io.jenkins.tools.pluginmanager.impl.PluginManager.resolveRecursiveDependencies(PluginManager.java:1074)
                at io.jenkins.tools.pluginmanager.impl.PluginManager.findPluginsAndDependencies(PluginManager.java:649)
                at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:214)
                ... 2 more
        Suppressed: io.jenkins.tools.pluginmanager.impl.PluginDependencyException: Plugin workflow-aggregator:2.6 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54
                at io.jenkins.tools.pluginmanager.impl.PluginManager.resolveRecursiveDependencies(PluginManager.java:1074)
                at io.jenkins.tools.pluginmanager.impl.PluginManager.findPluginsAndDependencies(PluginManager.java:649)
                at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:214)
                ... 2 more
        Suppressed: io.jenkins.tools.pluginmanager.impl.PluginDependencyException: Plugin git:4.10.0 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54
                at io.jenkins.tools.pluginmanager.impl.PluginManager.resolveRecursiveDependencies(PluginManager.java:1074)
                at io.jenkins.tools.pluginmanager.impl.PluginManager.findPluginsAndDependencies(PluginManager.java:649)
                at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:214)
                ... 2 more
Multiple plugin prerequisites not met:
Plugin kubernetes:1.30.11 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54,
Plugin workflow-aggregator:2.6 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54,
Plugin git:4.10.0 (via credentials:1055.v1346ba467ba1) depends on configuration-as-code:1.55, but there is an older version defined on the top level - configuration-as-code:1.54

How can I fix this?

CodePudding user response:

The solution appears to be to force the Helm chart to install updated plugins. The following values.yaml file allowed me to complete the deployment:

controller:
    installPlugins:
    - configuration-as-code:1.55
    - kubernetes:1.31.1 
    - workflow-aggregator:2.6 
    - git:4.10.1 

CodePudding user response:

This - configuration-as-code:1.55 in values.yml fix the problem.

  • Related