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=3ba464437cb8a658752e66781887287f9d818d3e;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=f5561d7a38dd4a5ae2ae98954819581ef0091d1b;hpb=2228149af0395d32bcc5de1f9d312a9882246b12;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 f5561d7a..3ba46443 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml @@ -40,6 +40,9 @@ spec: hostname: {{ include "common.name.dashboard" . }} imagePullSecrets: - name: {{ include "common.repositoryCred" . }} + {{- with .Values.dashboard.nodeselector }} + nodeSelector: {{ toYaml . | trim | nindent 8 -}} + {{- end }} containers: - name: {{ include "common.containername.dashboard" . }} image: {{ include "common.repository" . }}/{{ .Values.dashboard.image.name }}:{{ .Values.dashboard.image.tag }} @@ -61,16 +64,22 @@ spec: mountPath: /maven/portal.properties subPath: portal.properties readOnly: true - - name: dashboard-users - mountPath: /dashboard-data +# Temp solution until portal 2.6 + - name: appconfig + mountPath: /dashboard-data/users.json + subPath: users.json +# - name: dashboard-users +# mountPath: /dashboard-data livenessProbe: httpGet: - path: /api/admin/version + path: /api/admin/health port: http + initialDelaySeconds: 15 readinessProbe: httpGet: - path: /api/admin/health + path: /api/admin/version port: http + initialDelaySeconds: 15 volumes: - name: appconfig configMap: