################################################################################
-# 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"); #
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" . }}
- name: http-event
containerPort: {{ include "common.serviceport.o1mediator.http.event" . }}
protocol: TCP
+ volumes:
+ - name: appconfig-file
+ configMap:
+ name: {{ include "common.configmapname.o1mediator" . }}-appconfig-configmap