Describe the bug
When setting
JCasC:
security:
apiToken:
creationOfLegacyTokenEnabled: false
tokenGenerationOnCreationEnabled: false
usageStatisticsEnabled: false
it does not disable sending Usage Statistics in Jenkins.
Version of Helm and Kubernetes
- Helm: 3.17
- Kubernetes: 1.32
Chart version
5.8.48
What happened?
1. Update the values file and set `controller.JCasC.security.apiToken.usageStatisticsEnabled` to `false`
2. Install the chart.
3. Value is updated in JCasC, can check at `/var/jenkins_home/casc_configs`
4. In UI, under `Manage Jenkins` -> `Systems` -> `Usage Statistics` is still enabled.
...
What you expected to happen?
When we set controller.JCasC.security.apiToken.usageStatisticsEnabled to false, under Manage Jenkins -> Systems -> Usage Statistics should be disabled.
How to reproduce it
controller:
JCasC:
security:
apiToken:
creationOfLegacyTokenEnabled: false
tokenGenerationOnCreationEnabled: false
usageStatisticsEnabled: false
Anything else we need to know?
No response