X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fves%2Ftemplates%2Fves-deployment.yaml;h=3ddcd614ef47bdd1908c9160e025222b58a21258;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=287642eb8c631bf81a090fdf308873e190d1e27b;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-deployment.yaml b/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-deployment.yaml index 287642eb..3ddcd614 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-deployment.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-deployment.yaml @@ -18,7 +18,7 @@ kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: {{ include "common.deploymentname.ves" . }} generation: 1 @@ -45,9 +45,12 @@ spec: volumes: - name: component-log emptyDir: {} - - name: dmaap-config-file + - name: ves-config-mount configMap: name: {{ include "common.configmapname.ves" . }} + - name: ves-config-mount-properties + configMap: + name: {{ include "common.configmapname.ves" . }}-properties imagePullSecrets: - name: onap-docker-registry-key containers: @@ -62,9 +65,12 @@ spec: volumeMounts: - name: component-log mountPath: "/opt/app/VESCollector/logs/ecomp" - - name: dmaap-config-file + - name: ves-config-mount mountPath: "/opt/app/VESCollector/etc/DmaapConfig.json" - subPath: DMaapConfig.json + subPath: DmaapConfig.json + - name: ves-config-mount-properties + mountPath: "/opt/app/VESCollector/etc/collector.properties" + subPath: collector.properties readinessProbe: httpGet: path: "/healthcheck"