blob: b48b719d2c0a0abbb03f15efd5d563ca96565208 (
plain) (
blame)
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: {{ namespace }}
name: flumotion-manager
labels:
app: flumotion
type: manager
spec:
replicas: 1
selector:
matchLabels:
app: flumotion
type: manager
strategy:
type: Recreate
revisionHistoryLimit: 5
template:
metadata:
labels:
app: flumotion
type: manager
spec:
nodeName: {{ desc.globals.manager.machine }}
securityContext:
runAsUser: 998
fsGroup: 998
containers:
- name: flumotion
image: spreadspace/flumotion:manager-{{ desc.globals.deployment.parameter.image_version }}
imagePullPolicy: Always
args:
- --verbose
- /srv/config/planet.xml
volumeMounts:
- name: home
mountPath: /srv
- name: planet-config
mountPath: /srv/config
- name: secret
mountPath: /srv/secret
volumes:
- name: home
emptyDir:
medium: Memory
- name: planet-config
configMap:
name: flumotion-manager
- name: secret
secret:
secretName: flumotion-manager
defaultMode: 0400
|