envFrom:
- configMapRef:
name: {{ include "common.configmapname.a1mediator" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.a1mediator.image.name }}:{{ .Values.a1mediator.image.tag }}
imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $pullpolicyctx }}
ports:
metadata:
name: {{ include "common.configmapname.a1mediator" . }}-env
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_RTG_SVC: {{ include "common.serviceport.a1mediator.rmr.route" . | quote }}
PYTHONUNBUFFERED: "1"
A1_RMR_RETRY_TIMES: "{{ .Values.a1mediator.rmr_timeout_config.a1_rcv_retry_times }}"
envFrom:
- configMapRef:
name: {{ include "common.configmapname.appmgr" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
livenessProbe:
#exec:
# command:
name: {{ include "common.configmapname.appmgr" . }}-env
data:
NAME: "xappmgr"
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_RTG_SVC: {{ include "common.serviceport.appmgr.rmr.route" . | quote }}
{{- $certPath := .Values.appmgr.appcertpath | default "/opt/ric/certificates" }}
{{- $secretPath := .Values.appmgr.appsecretpath | default "/opt/ric/secret" }}
+++ /dev/null
-################################################################################
-# Copyright (c) 2019 AT&T Intellectual Property. #
-# Copyright (c) 2019 Nokia. #
-# #
-# Licensed under the Apache License, Version 2.0 (the "License"); #
-# you may not use this file except in compliance with the License. #
-# You may obtain a copy of the License at #
-# #
-# http://www.apache.org/licenses/LICENSE-2.0 #
-# #
-# Unless required by applicable law or agreed to in writing, software #
-# distributed under the License is distributed on an "AS IS" BASIS, #
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
-# See the License for the specific language governing permissions and #
-# limitations under the License. #
-################################################################################
-
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: {{ template "common.configmapname.dbaasha" . }}-appconfig
- labels:
- heritage: {{ .Release.Service }}
- release: {{ .Release.Name }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version }}
- app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaasha" . }}
-data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaasha.tcp" . }}.{{ .Release.Namespace }}.svc.cluster.local
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaasha.redis" . | quote }}
- DBAAS_SERVICE_SENTINEL_PORT: {{ include "common.serviceport.dbaasha.sentinel" . | quote }}
- DBAAS_MASTER_NAME: {{ .Values.dbaasha.redis.masterGroupName }}
envFrom:
- configMapRef:
name: {{ include "common.configmapname.e2mgr" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
ports:
- name: "http"
containerPort: {{ include "common.serviceport.e2mgr.http" . }}
metadata:
name: {{ include "common.configmapname.e2mgr" . }}-env
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_RTG_SVC: {{ include "common.serviceport.e2mgr.rmr.route" . | quote }}
RMR_SRC_ID: {{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}
#nano: {{ include "common.serviceport.e2mgr.rmr.data" . | quote }}
metadata:
name: {{ include "common.configmapname.e2term" $topCtx }}-env-{{ $key }}
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" $topCtx | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" $topCtx | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" $topCtx | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" $topCtx | quote }}
RMR_SRC_ID: {{ include "common.servicename.e2term.rmr" $topCtx }}-{{ $key }}.{{ include "common.namespace.platform" $topCtx }}
RMR_RTG_SVC: {{ include "common.serviceport.e2term.rmr.route" $topCtx | quote }}
RMR_SEED_RT: "router.txt"
imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $pullpolicyctx }}
envFrom:
- configMapRef:
- name: {{ include "common.configmapname.o1mediator" . }}-env
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
ports:
- name: http-supervise
containerPort: {{ include "common.serviceport.o1mediator.http.supervise" . }}
+++ /dev/null
-################################################################################
-# Copyright (c) 2019 AT&T Intellectual Property. #
-# Copyright (c) 2019 Nokia. #
-# #
-# Licensed under the Apache License, Version 2.0 (the "License"); #
-# you may not use this file except in compliance with the License. #
-# You may obtain a copy of the License at #
-# #
-# http://www.apache.org/licenses/LICENSE-2.0 #
-# #
-# Unless required by applicable law or agreed to in writing, software #
-# distributed under the License is distributed on an "AS IS" BASIS, #
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
-# See the License for the specific language governing permissions and #
-# limitations under the License. #
-################################################################################
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: {{ include "common.configmapname.o1mediator" . }}-env
-data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
envFrom:
- configMapRef:
name: {{ include "common.configmapname.rsm" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
ports:
- name: "http"
containerPort: {{ include "common.serviceport.rsm.http" . }}
metadata:
name: {{ include "common.configmapname.rsm" . }}-env
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_RTG_SVC: {{ include "common.serviceport.rsm.rmr.route" . | quote }}
envFrom:
- configMapRef:
name: {{ include "common.configmapname.rtmgr" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
volumeMounts:
- mountPath: /cfg
name: rtmgrcfg
metadata:
name: {{ include "common.configmapname.rtmgr" . }}-env
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_SEED_RT: "/uta_rtg_ric.rt"
RMR_RTG_SVC: {{ include "common.serviceport.rtmgr.rmr.route" . | quote }}
CFGFILE: "/cfg/rtmgr-config.yaml"
envFrom:
- configMapRef:
name: {{ include "common.configmapname.submgr" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
ports:
- name: http
containerPort: {{ include "common.serviceport.submgr.http" . }}
metadata:
name: {{ include "common.configmapname.submgr" . }}-env
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_RTG_SVC: {{ include "common.serviceport.submgr.rmr.route" . | quote }}
RMR_SRC_ID: {{ include "common.servicename.submgr.rmr" . }}.{{ include "common.namespace.platform" . }}
CFGFILE: "/cfg/submgr-config.yaml"
envFrom:
- configMapRef:
name: {{ include "common.configmapname.xapp-onboarder" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
livenessProbe:
#exec:
# command:
data:
FLASK_PORT: {{ include "common.serviceport.xapp-onboarder.server" . | quote }}
FLASK_DEBUG: "False"
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_MASTER_NAME: {{ include "common.servicename.dbaasha.tcp" . | quote }}
- DBAAS_SERVICE_SENTINEL_PORT: {{ include "common.serviceport.dbaasha.sentinel" . | quote }}
CHART_WORKSPACE_PATH: {{.Values.xapponboarder.chart_workspace_path | quote}}
CHART_REPO_URL: "http://0.0.0.0:8080"
HELM_VERSION: {{.Values.xapponboarder.helm_version | quote }}