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=f5561d7a38dd4a5ae2ae98954819581ef0091d1b;hb=8c686e8dbc613353518fd823240d6bf17ad6d0a7;hp=adacef25f8031f89fde02c3abaa641514c09e1b7;hpb=112e73d383b26192fea6e320ef3de6ef6bfdca0a;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 adacef25..f5561d7a 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml @@ -46,22 +46,35 @@ spec: imagePullPolicy: {{ include "common.pullPolicy" . }} ports: - name: http - containerPort: {{ .Values.dashboard.service.http.containerPort }} + containerPort: {{ include "common.serviceport.dashboard.container" . }} protocol: TCP volumeMounts: - - name: application-config - mountPath: /maven/application.properties + - name: appconfig + mountPath: /config/application.properties subPath: application.properties readOnly: true + - name: appconfig + mountPath: /maven/key.properties + subPath: key.properties + readOnly: true + - name: appconfig + mountPath: /maven/portal.properties + subPath: portal.properties + readOnly: true + - name: dashboard-users + mountPath: /dashboard-data livenessProbe: httpGet: - path: / + path: /api/admin/version port: http readinessProbe: httpGet: - path: / + path: /api/admin/health port: http volumes: - - name: application-config + - name: appconfig configMap: name: {{ include "common.configmapname.dashboard" . }}-appconfig + - name: dashboard-users + persistentVolumeClaim: + claimName: pvc-{{ include "common.name.dashboard" . }}