forked from dduportal/jenkins-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yml
98 lines (97 loc) · 3.42 KB
/
values.yml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
rbac:
create: true
readSecrets: true # Required to allow the plugin kubernetes-credentials-provider to read Kubernetes secrets
controller:
image: "dduportal/jenkins-k8s"
tag: "latest"
imagePullPolicy: "IfNotPresent" # Avoid Always if you use an image built locally and loaded in k3d from the local cache
resources:
limits:
cpu: "2"
memory: "4Gi"
requests:
cpu: "1"
memory: "2Gi"
javaOpts: >
-XshowSettings:vm -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:MaxRAM=4g -XX:+AlwaysPreTouch
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ -XX:+UseG1GC
-Dorg.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator.websocketConnectionTimeout=60
jenkinsUrl: http://localhost
jenkinsAdminEmail: noreply@localhost.local
installPlugins: []
ingress:
enabled: true
hostName: localhost
numExecutors: 0
executorMode: "EXCLUSIVE"
sidecars:
configAutoReload:
enabled: true
JCasC:
securityRealm: |-
local:
allowsSignup: false
enableCaptcha: false
users:
- id: "butler"
name: "Jenkins Admin"
password: "butler"
authorizationStrategy: |-
loggedInUsersCanDoAnything:
allowAnonymousRead: false
configScripts:
pipeline-library: |
unclassified:
globalLibraries:
libraries:
- defaultVersion: "master"
implicit: true
name: "pipeline-library"
retriever:
modernSCM:
scm:
git:
id: "github-access-token"
remote: "https://github.com/dduportal/pipeline-library.git"
common-config: |
unclassified:
defaultFolderConfiguration:
healthMetrics:
# Keep healthMetrics an empty list to ensure weather is disabled
jobs: |
jobs:
- script: >
multibranchPipelineJob('test') {
displayName "test"
description "Test Multibranch"
branchSources {
github {
id('20200302')
repoOwner('dduportal')
repository('docker-inbound-agents')
}
}
factory {
workflowBranchProjectFactory {
scriptPath('Jenkinsfile_k8s')
}
}
configure { node ->
def traits = node / 'sources' / 'data' / 'jenkins.branch.BranchSource' / 'source' / 'traits'
traits << 'org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait' {
strategyId(1)
}
traits << 'org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait' {
strategyId(1)
}
traits << 'org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait' {
strategyId(1)
trust(class: 'org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait$TrustPermission')
}
traits << 'org.jenkinsci.plugins.github.label.filter.PullRequestLabelsBlackListFilterTrait' {
labels('on-hold ci-skip')
}
}
}
...