X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Fo1mediator%2Ftemplates%2Fdeployment.yaml;h=71fc663ee6f0e847b6bb4e225785a93da2ecbe25;hb=7d75ab9f41b9849ac5b1079b32978e2cffad83c5;hp=5aa02c665ed9ada3d1e3f178096c638feeea6e1f;hpb=83612495fa2df8e9f5cb987194b257988ab31cdb;p=ric-plt%2Fric-dep.git diff --git a/helm/o1mediator/templates/deployment.yaml b/helm/o1mediator/templates/deployment.yaml index 5aa02c6..71fc663 100644 --- a/helm/o1mediator/templates/deployment.yaml +++ b/helm/o1mediator/templates/deployment.yaml @@ -1,5 +1,5 @@ ################################################################################ -# Copyright (c) 2019 AT&T Intellectual Property. # +# Copyright (c) 2019,2020 AT&T Intellectual Property. # # Copyright (c) 2019 Nokia. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # @@ -53,8 +53,13 @@ spec: image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.o1mediator.image.name }}:{{ .Values.o1mediator.image.tag }} imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $pullpolicyctx }} envFrom: + - configMapRef: + name: {{ include "common.configmapname.dbaas" . }}-appconfig - configMapRef: name: {{ include "common.configmapname.o1mediator" . }}-env + volumeMounts: + - mountPath: /etc/o1agent + name: appconfig-file ports: - name: http-supervise containerPort: {{ include "common.serviceport.o1mediator.http.supervise" . }} @@ -65,3 +70,7 @@ spec: - name: http-event containerPort: {{ include "common.serviceport.o1mediator.http.event" . }} protocol: TCP + volumes: + - name: appconfig-file + configMap: + name: {{ include "common.configmapname.o1mediator" . }}-appconfig-configmap