forked from IvorySQL/ivory-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanager.yaml
More file actions
39 lines (38 loc) · 1.04 KB
/
manager.yaml
File metadata and controls
39 lines (38 loc) · 1.04 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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ivyo
labels:
ivory-operator.ivorysql.org/control-plane: ivory-operator
spec:
replicas: 1
strategy: { type: Recreate }
selector:
matchLabels:
ivory-operator.ivorysql.org/control-plane: ivory-operator
template:
metadata:
labels:
ivory-operator.ivorysql.org/control-plane: ivory-operator
spec:
containers:
- name: operator
image: ivory-operator
env:
- name: IVYO_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: IVORY_DEBUG
value: "true"
- name: RELATED_IMAGE_IVORY_5
value: "docker.io/ivorysql/ivorysql:ubi9-5.3-5.3-1"
- name: RELATED_IMAGE_PGBACKREST
value: "docker.io/ivorysql/pgbackrest:ubi9-2.56.0-5.3-1"
securityContext:
allowPrivilegeEscalation: false
capabilities: { drop: [ALL] }
readOnlyRootFilesystem: true
runAsNonRoot: true
serviceAccountName: ivyo