X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fvespamgr%2Ftemplates%2Fdeployment.yaml;h=289045ce2b516220f80efd7ebd47fbbbe9226e4d;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=9ea06392c4063425ffdbfaf3efde61684a06bb5e;hpb=01adf4c86818ed16f46d8c0f9e9c691792bb233a;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/vespamgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/vespamgr/templates/deployment.yaml index 9ea06392..289045ce 100644 --- a/ric-platform/50-RIC-Platform/helm/vespamgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/vespamgr/templates/deployment.yaml @@ -42,6 +42,9 @@ spec: hostname: {{ include "common.name.vespamgr" . }} imagePullSecrets: - name: {{ include "common.repositoryCred" . }} + {{- with .Values.vespamgr.nodeselector }} + nodeSelector: {{ toYaml . | trim | nindent 8 -}} + {{- end }} containers: - name: {{ include "common.containername.vespamgr" . }} image: {{ include "common.repository" . }}/{{ .Values.vespamgr.image.name }}:{{ .Values.vespamgr.image.tag }} @@ -50,10 +53,19 @@ spec: - name: http containerPort: {{ include "common.serviceport.vespamgr.http" . }} protocol: TCP - #envFrom: - # - configMapRef: - # name: vespa-config - # - secretRef: - # name: vespa-secrets - + envFrom: + - configMapRef: + name: {{ include "common.configmapname.vespamgr" . }} + - secretRef: + name: vespa-secrets + env: + - name: VESMGR_APPMGRDOMAIN + value: appmgr-service + livenessProbe: + httpGet: + path: /supervision + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 60 + timeoutSeconds: 20