Code Review
/
ric-plt
/
appmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
RIC-826: Provide support for xapp_name also in the xapp descriptor
[ric-plt/appmgr.git]
/
xapp_orchestrater
/
dev
/
xapp_onboarder
/
xapp_onboarder
/
resources
/
xapp-std
/
templates
/
deployment.yaml
diff --git
a/xapp_orchestrater/dev/xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/deployment.yaml
b/xapp_orchestrater/dev/xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/deployment.yaml
index
3c4c052
..
0a622f3
100644
(file)
--- a/
xapp_orchestrater/dev/xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/deployment.yaml
+++ b/
xapp_orchestrater/dev/xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/deployment.yaml
@@
-55,12
+55,14
@@
spec:
- name: config-volume
configMap:
name: {{ include "ricxapp.configmapname" . }}-appconfig
- name: config-volume
configMap:
name: {{ include "ricxapp.configmapname" . }}-appconfig
+ {{- if .Values.controls }}
{{- if .Values.controls.fileStorage }}
- name: diskwriter
hostPath:
path: {{ .Values.storage.mountPath }}
type: DirectoryOrCreate
{{- end }}
{{- if .Values.controls.fileStorage }}
- name: diskwriter
hostPath:
path: {{ .Values.storage.mountPath }}
type: DirectoryOrCreate
{{- end }}
+ {{- end }}
containers:
{{- $containers := .Values.containers }}
{{- $ports := .Values.messaging.ports }}
containers:
{{- $containers := .Values.containers }}
{{- $ports := .Values.messaging.ports }}
@@
-106,10
+108,12
@@
spec:
volumeMounts:
- name: config-volume
mountPath: {{ .Values.appconfig.path }}
volumeMounts:
- name: config-volume
mountPath: {{ .Values.appconfig.path }}
+ {{- if .Values.controls }}
{{- if .Values.controls.fileStorage }}
- name: diskwriter
mountPath: {{ .Values.storage.mountPath }}
{{- end }}
{{- if .Values.controls.fileStorage }}
- name: diskwriter
mountPath: {{ .Values.storage.mountPath }}
{{- end }}
+ {{- end }}
envFrom:
- configMapRef:
name: {{ include "ricxapp.configmapname" . }}-appenv
envFrom:
- configMapRef:
name: {{ include "ricxapp.configmapname" . }}-appenv