X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp_orchestrater%2Fdev%2Fxapp_onboarder%2Fxapp_onboarder%2Fresources%2Fxapp-std%2Ftemplates%2Fdeployment.yaml;fp=xapp_orchestrater%2Fdev%2Fxapp_onboarder%2Fxapp_onboarder%2Fresources%2Fxapp-std%2Ftemplates%2Fdeployment.yaml;h=0a622f3b288c005a71e37485d6a261114c3a42eb;hb=576a7e55d3f1acddba1a252ea6007be280aa6edf;hp=3c4c0527941c52a0cb02670244dd67246776602d;hpb=9930774c3ad2c7762b8627359ed8638e23707754;p=ric-plt%2Fappmgr.git 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 --- 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 + {{- if .Values.controls }} {{- if .Values.controls.fileStorage }} - name: diskwriter hostPath: path: {{ .Values.storage.mountPath }} type: DirectoryOrCreate {{- end }} + {{- end }} containers: {{- $containers := .Values.containers }} {{- $ports := .Values.messaging.ports }} @@ -106,10 +108,12 @@ spec: volumeMounts: - name: config-volume mountPath: {{ .Values.appconfig.path }} + {{- if .Values.controls }} {{- if .Values.controls.fileStorage }} - name: diskwriter mountPath: {{ .Values.storage.mountPath }} {{- end }} + {{- end }} envFrom: - configMapRef: name: {{ include "ricxapp.configmapname" . }}-appenv