I have installed Jenkins using helm chart on GKE using below override.yaml file.
namespaceOverride: “jenkins” # Deploy Jenkins resources in the jenkins namespace
Jenkins controller settings
controller:
serviceType: ClusterIP
image:
# – Controller image registry
registry: “us-central2-docker.pkg.dev”
# – Controller image repository
repository: “gcp-devsecops/jenkins-custom-img”
# -- Controller image tag override
tag: v.1
# -- Controller image tag label
tagLabel:
# -- Controller image pull policy
pullPolicy: "Always"
Autorization strategy
JCasC:
securityRealm: |-
local:
allowsSignup: false
enableCaptcha: false
users:
- id: “{chart-admin-username}"
name: "Jenkins Admin"
password: "{chart-admin-password}”
authorizationStrategy: |-
# Nothing is enforced here, Jenkins UI will manage the strategy
select nodepool on which jenkins controller will run
nodeSelector: controller-node # Specify the jenkins controller node pool
ingress:
enabled: false
path:
Attach Persistent disk
persistence:
enabled: true
storageClass: “standard”
annotations: {}
labels: {}
accessMode: “ReadWriteOnce”
size: “16Gi”
After Installation I have downloaded SAML2.0 plugin for SSO configuration. And able to login using SSO. I have updated below details in Jenkins UI.
- Updated the jenkins URL
- In security updated below details
Now the issue is when I’m upgrading any plugin and restarting jenkins pod it, changes that I have made are getting reverted.
How can I fix it?