-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathcontroller.yaml
More file actions
44 lines (44 loc) · 1.28 KB
/
controller.yaml
File metadata and controls
44 lines (44 loc) · 1.28 KB
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
removeStrategy:
rbac: SYNC
items: NONE
items:
- kind: managedController
name: controller-name
properties:
- healthReporting:
enabled: true
- configurationAsCode:
bundle: controller-bundle
configuration:
kubernetes:
memory: 4000
cpus: 1.0
clusterEndpointId: default
disk: 10
storageClassName: premium-rwo
domain: controller-custom-domain
namespace: cloudbees-ci
yaml: |
apiVersion: "apps/v1"
kind: "StatefulSet"
spec:
template:
metadata:
labels:
networking/allow-internet-access: "true"
spec:
containers:
- name: "jenkins"
env:
- name: "SECRETS"
value: "/var/jenkins_home/jcasc_secrets"
volumeMounts:
- name: "jcasc-secrets"
mountPath: "/var/jenkins_home/jcasc_secrets"
volumes:
- name: "jcasc-secrets"
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: "cbci-mc-secret-provider"