Code Review
/
ric-plt
/
ric-dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adding env variables for prometheus in E2T helmchart
[ric-plt/ric-dep.git]
/
helm
/
o1mediator
/
templates
/
deployment.yaml
diff --git
a/helm/o1mediator/templates/deployment.yaml
b/helm/o1mediator/templates/deployment.yaml
index
ddd2685
..
71fc663
100644
(file)
--- a/
helm/o1mediator/templates/deployment.yaml
+++ b/
helm/o1mediator/templates/deployment.yaml
@@
-1,5
+1,5
@@
################################################################################
################################################################################
-# Copyright (c) 2019
AT&T Intellectual Property.
#
+# Copyright (c) 2019
,2020 AT&T Intellectual Property.
#
# Copyright (c) 2019 Nokia. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# Copyright (c) 2019 Nokia. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
@@
-55,6
+55,11
@@
spec:
envFrom:
- configMapRef:
name: {{ include "common.configmapname.dbaas" . }}-appconfig
envFrom:
- configMapRef:
name: {{ include "common.configmapname.dbaas" . }}-appconfig
+ - configMapRef:
+ name: {{ include "common.configmapname.o1mediator" . }}-env
+ volumeMounts:
+ - mountPath: /etc/o1agent
+ name: appconfig-file
ports:
- name: http-supervise
containerPort: {{ include "common.serviceport.o1mediator.http.supervise" . }}
ports:
- name: http-supervise
containerPort: {{ include "common.serviceport.o1mediator.http.supervise" . }}
@@
-65,3
+70,7
@@
spec:
- name: http-event
containerPort: {{ include "common.serviceport.o1mediator.http.event" . }}
protocol: TCP
- name: http-event
containerPort: {{ include "common.serviceport.o1mediator.http.event" . }}
protocol: TCP
+ volumes:
+ - name: appconfig-file
+ configMap:
+ name: {{ include "common.configmapname.o1mediator" . }}-appconfig-configmap