Use Jenkins Configuration as Code (JCasC) via Helm values
mainJCasC configuration is passed through the controller.JCasC key. You can provide custom configuration scripts using the controller.JCasC.configScripts sub-key.
Each sub-key (e.g., welcome-message) acts as a label and becomes a filename in /var/jenkins_home/casc_configs. The content following the | character is the YAML content of that file.
Important: Do not attempt to configure jenkinsUrl or jenkinsAdminEmail inside configScripts if they are already defined as top-level Helm values, as this will cause a conflict. Use the top-level keys instead.
Example: Setting a custom system message:
controller:
JCasC:
configScripts:
welcome-message: |
jenkins:
systemMessage: Welcome to our CI/CD server.