-
Notifications
You must be signed in to change notification settings - Fork 125
/
deployment.yaml
41 lines (41 loc) · 1.06 KB
/
deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "zeebe-operate.fullname" . }}
labels:
app: {{ include "zeebe-operate.fullname" . }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ include "zeebe-operate.fullname" . }}
template:
metadata:
labels:
app: {{ include "zeebe-operate.fullname" . }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 1000m
memory: 768Mi
ports:
- containerPort: 8080
name: http
protocol: TCP
volumeMounts:
- name: config
mountPath: /usr/local/operate/config/application.yml
subPath: application.yml
volumes:
- name: config
configMap:
name: {{ include "zeebe-operate.fullname" . }}
defaultMode: 0744
securityContext:
{{ toYaml .Values.podSecurityContext | indent 8 }}