X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fdashboard%2Ftemplates%2Fdeployment.yaml;h=a4b311da04c657c86075541f41c160eb32e03e21;hb=refs%2Fchanges%2F39%2F339%2F10;hp=f02ddec0206b0df42864b2349ebe599039edf447;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml index f02ddec0..a4b311da 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml @@ -46,14 +46,13 @@ spec: imagePullPolicy: {{ include "common.pullPolicy" . }} ports: - name: http - containerPort: 8080 + containerPort: {{ .Values.dashboard.server.port }} protocol: TCP - env: - - name: SPRING_APPLICATION_JSON - valueFrom: - configMapKeyRef: - name: dashboard-configmap - key: springApplication.json + volumeMounts: + - name: application-config + mountPath: /maven/application.properties + subPath: application.properties + readOnly: true livenessProbe: httpGet: path: / @@ -62,3 +61,7 @@ spec: httpGet: path: / port: http + volumes: + - name: application-config + configMap: + name: {{ include "dashboard.fullname" . }}-appconfig