forked from lachie83/croc-hunter
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathjenkins-values-docker.yaml
84 lines (77 loc) · 2.8 KB
/
jenkins-values-docker.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Includes complete Jenkins configuration in order to run croc-hunter pipeline
# To install on your own cluster, run:
# helm --namespace jenkins --name jenkins -f ./jenkins-values.yaml install stable/jenkins
Master:
ImageTag: "2.107.1"
Memory: "512Mi"
HostName: jenkins.k8s.az.jessicadeen.com
ServiceType: ClusterIP
InstallPlugins:
- kubernetes:1.4.1
- pipeline-stage-view:2.4
- pipeline-rest-api:2.4
- workflow-aggregator:2.5
- credentials-binding:1.16
- git:3.8.0
- pipeline-github-lib:1.0
- ghprb:1.40.0
- blueocean:1.4.2
- artifactory:2.15.0
- docker:1.1.3
- tfs:5.133.0
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"
- "method java.util.Collection toArray"
- "staticMethod org.kohsuke.groovy.sandbox.impl.Checker checkedCall java.lang.Object boolean boolean java.lang.String java.lang.Object[]"
- "staticMethod org.kohsuke.groovy.sandbox.impl.Checker checkedGetProperty java.lang.Object boolean boolean java.lang.Object"
Ingress:
Annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
TLS:
- secretName: jenkins.k8s.az.jessicadeen.com
hosts:
- jenkins.k8s.az.jessicadeen.com
Agent:
Enabled: true
Image: jenkinsci/jnlp-slave
ImageTag: latest
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
# Configure the attributes as they appear in the corresponding Java class for that type
# https://github.com/jenkinsci/kubernetes-plugin/tree/master/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes
volumes:
- type: HostPath
hostPath: /var/run/docker.sock
mountPath: /var/run/docker.sock
# - type: Secret
# secretName: mysecret
# mountPath: /var/myapp/mysecret
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:
## If defined, volume.beta.kubernetes.io/storage-class: <StorageClass>
## Default: volume.alpha.kubernetes.io/storage-class: default
##
# StorageClass:
AccessMode: ReadWriteOnce
Size: 8Gi
volumes:
# - name: nothing
# emptyDir: {}
mounts:
# - mountPath: /var/nothing
# name: nothing
# readOnly: true