File tree Expand file tree Collapse file tree 6 files changed +17
-16
lines changed Expand file tree Collapse file tree 6 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : apps/v1
2
2
kind : Deployment
3
3
metadata :
4
- name : mongodb
4
+ name : mongodb-{{ .Values.trs_filer.appName }}
5
5
spec :
6
6
progressDeadlineSeconds : 600
7
7
replicas : 1
8
8
revisionHistoryLimit : 10
9
9
selector :
10
10
matchLabels :
11
- app : mongodb
11
+ app : mongodb-{{ .Values.trs_filer.appName }}
12
12
strategy :
13
13
rollingUpdate :
14
14
maxSurge : 25%
@@ -18,12 +18,12 @@ spec:
18
18
metadata :
19
19
creationTimestamp : null
20
20
labels :
21
- app : mongodb
21
+ app : mongodb-{{ .Values.trs_filer.appName }}
22
22
spec :
23
23
containers :
24
24
- image : {{ .Values.mongodb.image }}
25
25
imagePullPolicy : Always
26
- name : mongodb
26
+ name : mongodb-{{ .Values.trs_filer.appName }}
27
27
ports :
28
28
- containerPort : 27017
29
29
protocol : TCP
@@ -32,14 +32,14 @@ spec:
32
32
terminationMessagePolicy : File
33
33
volumeMounts :
34
34
- mountPath : /data/db/
35
- name : mongodb
35
+ name : mongodb-{{ .Values.trs_filer.appName }}
36
36
dnsPolicy : ClusterFirst
37
37
restartPolicy : Always
38
38
schedulerName : default-scheduler
39
39
securityContext : {}
40
40
terminationGracePeriodSeconds : 30
41
41
volumes :
42
- - name : mongodb
42
+ - name : mongodb-{{ .Values.trs_filer.appName }}
43
43
persistentVolumeClaim :
44
- claimName : mongodb
44
+ claimName : mongodb-{{ .Values.trs_filer.appName }}
45
45
status :
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
kind : PersistentVolumeClaim
3
3
metadata :
4
- name : mongodb
4
+ name : mongodb-{{ .Values.trs_filer.appName }}
5
5
spec :
6
6
accessModes :
7
7
- ReadWriteOnce
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
kind : Service
3
3
metadata :
4
- name : mongodb
4
+ name : mongodb-{{ .Values.trs_filer.appName }}
5
5
labels :
6
- app : mongodb
6
+ app : mongodb-{{ .Values.trs_filer.appName }}
7
7
spec :
8
8
ports :
9
- - name : mongodb
9
+ - name : mongodb-{{ .Values.trs_filer.appName }}
10
10
port : 27017
11
11
protocol : TCP
12
12
targetPort : 27017
13
13
selector :
14
- app : mongodb
14
+ app : mongodb-{{ .Values.trs_filer.appName }}
15
15
sessionAffinity : None
16
16
type : ClusterIP
17
17
status :
Original file line number Diff line number Diff line change 3
3
config.yaml : ' # Empty, this configMap will be filled by Job (configmap-job-{{ .Values.trs_filer.appName }})'
4
4
kind : ConfigMap
5
5
metadata :
6
- name : app-config
6
+ name : app-config-{{ .Values.trs_filer.appName }}
7
7
---
8
8
apiVersion : batch/v1
9
9
kind : Job
21
21
- name : APISERVER
22
22
value : {{ .Values.apiServer }}
23
23
- name : CONFIG_MAP_NAME
24
- value : app-config
24
+ value : app-config-{{ .Values.trs_filer.appName }}
25
25
- name : APP_CONFIG_PATH
26
26
value : /app/trs_filer/config.yaml
27
27
- name : APP_NAME
Original file line number Diff line number Diff line change 45
45
items :
46
46
- key : config.yaml
47
47
path : config.yaml
48
- name : app-config
48
+ name : app-config-{{ .Values.trs_filer.appName }}
49
+
49
50
name : config-yaml
50
51
status :
Original file line number Diff line number Diff line change 5
5
host_name : trs-filer-test.2.rahtiapp.fi
6
6
7
7
trs_filer :
8
- image : elixircloud/trs-filer:0.1.0
8
+ image : elixircloud/trs-filer:20211110
9
9
appName : trs-filer
10
10
11
11
apiServer : kubernetes.default.svc:443 # address of k8s API server
You can’t perform that action at this time.
0 commit comments