This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
babylon.yaml
89 lines (89 loc) · 1.94 KB
/
babylon.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
apiVersion: v1
kind: Namespace
metadata:
name: babylon-test
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: babylon-test
namespace: babylon-test
labels:
app: babylon-test
spec:
replicas: 1
selector:
matchLabels:
app: babylon-test
template:
metadata:
labels:
app: babylon-test
spec:
serviceAccountName: babylon-test-service-account
containers:
- name: babylon-test
imagePullPolicy: Never
env:
- name: ARMED
value: "true"
- name: LINKERD_DISABLED
value: "true"
- name: RESTART_THRESHOLD
value: "1"
- name: RESOURCE_AGE
value: "1s"
- name: GRACE_PERIOD
value: "1s"
- name: TICKRATE
value: "5s"
- name: NOTIFICATION_DELAY
value: "5s"
- name: USE_ALLOWED_NAMESPACES
value: "true"
- name: ALLOWED_NAMESPACES
value: "babylon-test,kuttl-test"
- name: LOG_LEVEL
value: "debug"
image: babylon
ports:
- containerPort: 8080
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: babylon-test-service-account
namespace: babylon-test
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: babylon-test-cluster-role
rules:
- apiGroups:
- ""
- "apps"
resources:
- "pods"
- "deployments"
- "replicasets"
verbs:
- "get"
- "delete"
- "list"
- "watch"
- "patch"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: babylon-test-cluster-role-binding
namespace: babylon-test
subjects:
- kind: ServiceAccount
name: babylon-test-service-account
namespace: babylon-test
roleRef:
kind: ClusterRole
name: babylon-test-cluster-role
apiGroup: rbac.authorization.k8s.io