Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Default values for jenkins.
- # This is a YAML-formatted file.
- # Declare name/value pairs to be passed into your templates.
- # name: value
- ## Overrides for generated resource names
- # See templates/_helpers.tpl
- # nameOverride:
- # fullnameOverride:
- Master:
- Name: jenkins-master
- Image: "jenkins/jenkins"
- ImageTag: "2.109"
- ImagePullPolicy: "Always"
- Component: "jenkins-master"
- UseSecurity: true
- AdminUser: admin
- # AdminPassword: <defaults to random>
- Cpu: "200m"
- Memory: "256Mi"
- ServicePort: 8080
- # For minikube, set this to NodePort, elsewhere use LoadBalancer
- # <to set explicitly, choose port between 30000-32767>
- ServiceType: NodePort
- NodePort: 32000
- ServiceAnnotations: {}
- ContainerPort: 8080
- # Enable Kubernetes Liveness and Readiness Probes
- HealthProbes: true
- HealthProbesTimeout: 60
- SlaveListenerPort: 50000
- LoadBalancerSourceRanges:
- - 0.0.0.0/0
- # List of plugins to be install during Jenkins master start
- InstallPlugins:
- - kubernetes:1.1
- - workflow-aggregator:2.5
- - workflow-job:2.17
- - credentials-binding:1.13
- - git:3.6.4
- - greenballs:1.15
- # Used to approve a list of groovy functions in pipelines used the script-security plugin. Can be viewed under /scriptApproval
- ScriptApproval:
- - "method groovy.json.JsonSlurperClassic parseText java.lang.String"
- - "new groovy.json.JsonSlurperClassic"
- - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.util.Map java.util.Map"
- - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String"
- CustomConfigMap: false
- NodeSelector: {}
- Tolerations: {}
- Agent:
- Enabled: true
- Image: jenkins/jnlp-slave
- ImageTag: 3.10-1
- Component: "jenkins-slave"
- Privileged: false
- Cpu: "200m"
- Memory: "256Mi"
- # You may want to change this to true while testing a new image
- AlwaysPullImage: false
- # You can define the volumes that you want to mount for this container
- # Allowed types are: ConfigMap, EmptyDir, HostPath, Nfs, Pod, Secret
- volumes:
- - type: HostPath
- hostPath: /var/run/docker.sock
- mountPath: /var/run/docker.sock
- NodeSelector: {}
- Persistence:
- Enabled: true
- ## A manually managed Persistent Volume and Claim
- ## Requires Persistence.Enabled: true
- ## If defined, PVC must be created manually before volume will be bound
- # ExistingClaim:
- ## jenkins data Persistent Volume Storage Class
- StorageClass: jenkins-pv
- Annotations: {}
- AccessMode: ReadWriteOnce
- Size: 20Gi
- volumes:
- # - name: nothing
- # emptyDir: {}
- mounts:
- # - mountPath: /var/nothing
- # name: nothing
- # readOnly: true
- NetworkPolicy:
- # Enable creation of NetworkPolicy resources.
- Enabled: false
- # For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
- # For Kubernetes v1.7, use 'networking.k8s.io/v1'
- ApiVersion: extensions/v1beta1
- ## Install Default RBAC roles and bindings
- rbac:
- install: false
- serviceAccountName: default
- # RBAC api version (currently either v1beta1 or v1alpha1)
- apiVersion: v1beta1
- # Cluster role reference
- roleRef: cluster-admin
Add Comment
Please, Sign In to add comment