Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add DANM network support through annotations
[it/dep.git]
/
ric-platform
/
50-RIC-Platform
/
helm
/
appmgr
/
templates
/
deployment.yaml
diff --git
a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml
b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml
index
1ea190b
..
ce05589
100644
(file)
--- a/
ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml
+++ b/
ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml
@@
-33,6
+33,10
@@
spec:
release: {{ .Release.Name }}
template:
metadata:
release: {{ .Release.Name }}
template:
metadata:
+ {{- if .Values.appmgr.annotations }}
+ annotations:
+ {{- .Values.appmgr.annotations | nindent 8 -}}
+ {{ end }}
labels:
app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
release: {{ .Release.Name }}
labels:
app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
release: {{ .Release.Name }}
@@
-47,13
+51,13
@@
spec:
imagePullPolicy: {{ include "common.pullPolicy" . }}
ports:
- name: http
imagePullPolicy: {{ include "common.pullPolicy" . }}
ports:
- name: http
- containerPort: {{
.Values.appmgr.service.http.containerPort
}}
+ containerPort: {{
include "common.serviceport.appmgr.http" .
}}
protocol: TCP
- name: rmrroute
protocol: TCP
- name: rmrroute
- containerPort: {{
.Values.appmgr.service.rmr.route.port
}}
+ containerPort: {{
include "common.serviceport.appmgr.rmr.route" .
}}
protocol: TCP
- name: rmrdata
protocol: TCP
- name: rmrdata
- containerPort: {{
.Values.appmgr.service.rmr.data.port
}}
+ containerPort: {{
include "common.serviceport.appmgr.rmr.data" .
}}
protocol: TCP
volumeMounts:
- name: config-volume
protocol: TCP
volumeMounts:
- name: config-volume