forked from druid-io/druid-operator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
operator.yaml
39 lines (39 loc) · 1.09 KB
/
operator.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: druid-operator
spec:
replicas: 1
selector:
matchLabels:
name: druid-operator
template:
metadata:
labels:
name: druid-operator
spec:
serviceAccountName: druid-operator
containers:
- name: druid-operator
# Replace this with the built image name
image: druidio/druid-operator:latest
command:
- /manager
imagePullPolicy: IfNotPresent
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
# Following namespaces will not be reconciled by operator, regardless of scope
# - name: DENY_LIST
# value: kube-system, default
# Default Reconcile time is set to 10s
# - name: RECONCILE_WAIT
# value: 30s
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "druid-operator"