Guest User

Untitled

a guest
Apr 11th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. # Default values for jenkins.
  2. # This is a YAML-formatted file.
  3. # Declare name/value pairs to be passed into your templates.
  4. # name: value
  5.  
  6. ## Overrides for generated resource names
  7. # See templates/_helpers.tpl
  8. # nameOverride:
  9. # fullnameOverride:
  10.  
  11. Master:
  12. Name: jenkins-master
  13. Image: "jenkins/jenkins"
  14. ImageTag: "2.109"
  15. ImagePullPolicy: "Always"
  16. Component: "jenkins-master"
  17. UseSecurity: true
  18. AdminUser: admin
  19. # AdminPassword: <defaults to random>
  20. Cpu: "200m"
  21. Memory: "256Mi"
  22. ServicePort: 8080
  23. # For minikube, set this to NodePort, elsewhere use LoadBalancer
  24. # <to set explicitly, choose port between 30000-32767>
  25. ServiceType: NodePort
  26. NodePort: 32000
  27. ServiceAnnotations: {}
  28. ContainerPort: 8080
  29. # Enable Kubernetes Liveness and Readiness Probes
  30. HealthProbes: true
  31. HealthProbesTimeout: 60
  32. SlaveListenerPort: 50000
  33. LoadBalancerSourceRanges:
  34. - 0.0.0.0/0
  35. # List of plugins to be install during Jenkins master start
  36. InstallPlugins:
  37. - kubernetes:1.1
  38. - workflow-aggregator:2.5
  39. - workflow-job:2.17
  40. - credentials-binding:1.13
  41. - git:3.6.4
  42. - greenballs:1.15
  43. # Used to approve a list of groovy functions in pipelines used the script-security plugin. Can be viewed under /scriptApproval
  44. ScriptApproval:
  45. - "method groovy.json.JsonSlurperClassic parseText java.lang.String"
  46. - "new groovy.json.JsonSlurperClassic"
  47. - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.util.Map java.util.Map"
  48. - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String"
  49. CustomConfigMap: false
  50. NodeSelector: {}
  51. Tolerations: {}
  52.  
  53. Agent:
  54. Enabled: true
  55. Image: jenkins/jnlp-slave
  56. ImageTag: 3.10-1
  57. Component: "jenkins-slave"
  58. Privileged: false
  59. Cpu: "200m"
  60. Memory: "256Mi"
  61. # You may want to change this to true while testing a new image
  62. AlwaysPullImage: false
  63. # You can define the volumes that you want to mount for this container
  64. # Allowed types are: ConfigMap, EmptyDir, HostPath, Nfs, Pod, Secret
  65. volumes:
  66. - type: HostPath
  67. hostPath: /var/run/docker.sock
  68. mountPath: /var/run/docker.sock
  69. NodeSelector: {}
  70.  
  71. Persistence:
  72. Enabled: true
  73. ## A manually managed Persistent Volume and Claim
  74. ## Requires Persistence.Enabled: true
  75. ## If defined, PVC must be created manually before volume will be bound
  76. # ExistingClaim:
  77. ## jenkins data Persistent Volume Storage Class
  78. StorageClass: jenkins-pv
  79.  
  80. Annotations: {}
  81. AccessMode: ReadWriteOnce
  82. Size: 20Gi
  83. volumes:
  84. # - name: nothing
  85. # emptyDir: {}
  86. mounts:
  87. # - mountPath: /var/nothing
  88. # name: nothing
  89. # readOnly: true
  90.  
  91. NetworkPolicy:
  92. # Enable creation of NetworkPolicy resources.
  93. Enabled: false
  94. # For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
  95. # For Kubernetes v1.7, use 'networking.k8s.io/v1'
  96. ApiVersion: extensions/v1beta1
  97.  
  98. ## Install Default RBAC roles and bindings
  99. rbac:
  100. install: false
  101. serviceAccountName: default
  102. # RBAC api version (currently either v1beta1 or v1alpha1)
  103. apiVersion: v1beta1
  104. # Cluster role reference
  105. roleRef: cluster-admin
Add Comment
Please, Sign In to add comment