You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
Describe the bug
When you specify master.enableXmlConfig: false and master.JCasC.enabled: true and master.JCasC.defaultConfig: true on initial login you are presented with Jenkins Setup Wizard.
When specifying master.enableXmlConfig: true no Wizard is displayed.
What happened:
When disabling Xml Configuration by setting master.enableXmlConfig: false, on initial login I am presented with initialAdminPassword dialog.
I was able to prevent this dialog from appearing by adding this to my JCasC config:
With this fixed, the SetupWizard still comes up, asking to install plugins, although they are specified in my values.yml override and are indeed installed.
What you expected to happen:
I expect the same behavior as with enableXmlConfig: true specified.
How to reproduce it (as minimally and precisely as possible):
Have this values.yml file
master:
serviceType: ClusterIPenableXmlConfig: falseJCasC:
enabled: truedefaultConfig: trueconfigScripts:
security-realm: | jenkins: securityRealm: legacy: {}welcome-message: | jenkins: systemMessage: Welcome to our CI\CD server. This Jenkins is configured and managed 'as code'.sidecars:
configAutoReload:
enabled: true
Describe the bug
When you specify
master.enableXmlConfig: false
andmaster.JCasC.enabled: true
andmaster.JCasC.defaultConfig: true
on initial login you are presented with Jenkins Setup Wizard.When specifying
master.enableXmlConfig: true
no Wizard is displayed.Version of Helm and Kubernetes:
Helm:
Kubernetes:
Which chart:
stable/jenkins
What happened:
When disabling Xml Configuration by setting
master.enableXmlConfig: false
, on initial login I am presented withinitialAdminPassword
dialog.I was able to prevent this dialog from appearing by adding this to my JCasC config:
With this fixed, the SetupWizard still comes up, asking to install plugins, although they are specified in my
values.yml
override and are indeed installed.What you expected to happen:
I expect the same behavior as with
enableXmlConfig: true
specified.How to reproduce it (as minimally and precisely as possible):
Have this
values.yml
fileRun this install command
When you connect to jenkins and enter admin password you are presented with Setup Wizard, not connected straight to Jenkins
Anything else we need to know:
According to this -> jenkinsci/configuration-as-code-plugin#38 (comment), all that is required to prevent Setup Wizard from coming up is this
I suggest to add this conditionally to
apply_config.sh
inconfig.yaml
template whenenableXmlConfig
isfalse
The text was updated successfully, but these errors were encountered: