generated from cloudbees-days/ops-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
controller.yaml
67 lines (67 loc) · 1.86 KB
/
controller.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
removeStrategy:
rbac: SYNC
items: NONE
items:
- kind: folder
name: rkiss-jcasc
groups:
- members:
users:
- rkiss
- rkiss-admin
roles:
- name: browse
grantedAt: current
- name: workshop-admin
grantedAt: child
name: Team Administrators
filteredRoles:
- workshop-admin
- browse
items:
- kind: managedController
name: ops-controller
properties:
- healthReporting:
enabled: true
- configurationAsCode:
bundle: rkiss-jcasc-ops-controller
configuration:
kubernetes:
memory: 4000
cpus: 1.0
clusterEndpointId: default
disk: 10
storageClassName: premium-rwo
domain: rkiss-jcasc-ops-controller
namespace: controllers
yaml: |
kind: "StatefulSet"
spec:
template:
metadata:
labels:
networking/allow-internet-access: "true"
spec:
containers:
- name: "jenkins"
env:
- name: "SECRETS"
value: "/var/jenkins_home/jcasc_secrets"
- name: "GITHUB_ORGANIZATION"
value: "rkiss-jcasc"
- name: "GITHUB_USER"
value: "rkiss"
- name: "GITHUB_APP"
value: "cloudbees-ci-casc-workshop"
- name: "CONTROLLER_SUBDOMAIN"
value: "rkiss-jcasc-ops-controller"
- name: "CASC_BUNDLE_ID"
value: "rkiss-jcasc-ops-controller"
volumeMounts:
- name: "jcasc-secrets"
mountPath: "/var/jenkins_home/jcasc_secrets"
volumes:
- name: "jcasc-secrets"
secret:
secretName: cbci-mc-secret