-
Notifications
You must be signed in to change notification settings - Fork 1
/
kudo.yaml
99 lines (95 loc) · 2.02 KB
/
kudo.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: null
labels:
app: kudo-manager
name: kudo-manager
namespace: kudo-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
name: kudo-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: kudo-manager
namespace: kudo-system
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: kudo-manager
control-plane: controller-manager
name: kudo-controller-manager-service
namespace: kudo-system
spec:
ports:
- name: kudo
port: 443
targetPort: webhook-server
selector:
app: kudo-manager
control-plane: controller-manager
status:
loadBalancer: {}
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
creationTimestamp: null
labels:
app: kudo-manager
control-plane: controller-manager
name: kudo-controller-manager
namespace: kudo-system
spec:
selector:
matchLabels:
app: kudo-manager
control-plane: controller-manager
serviceName: kudo-controller-manager-service
template:
metadata:
creationTimestamp: null
labels:
app: kudo-manager
control-plane: controller-manager
spec:
containers:
- command:
- /root/manager
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: SECRET_NAME
value: kudo-webhook-server-secret
- name: ENABLE_WEBHOOKS
value: "false"
image: kudobuilder/controller:v0.10.1
imagePullPolicy: Always
name: manager
ports:
- containerPort: 443
name: webhook-server
protocol: TCP
resources:
requests:
cpu: 100m
memory: 50Mi
serviceAccountName: kudo-manager
terminationGracePeriodSeconds: 10
updateStrategy: {}
status:
replicas: 0
...