################################################################################
# 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. #
# limitations under the License. #
################################################################################
-repository: "nexus3.o-ran-sc.org:10004"
-imagePullPolicy: IfNotPresent
-repositoryCred: docker-reg-cred
-
-dbaas:
- backend:
- terminationGracePeriodSeconds: 0
- replicas: 1
- image:
- name: ric-plt-dbaas
- tag: 0.1.0
-
- # Service ports are now defined in
- # ric-common/Common-Template/helm/ric-common/templates/_ports.tpl file.
- # If need to change a service port, make the code change necessary, then
- # update the _ports.tpl file with the new port number.
\ No newline at end of file
+# template for component name
+{{- define "common.name.mrsub" -}}
+ {{- if .Values.mrsub -}}
+ {{- if .Values.mrsub.nameOverride -}}
+ {{- printf "%s" .Values.mrsub.nameOverride -}}
+ {{- else -}}
+ {{- printf "mrsub" -}}
+ {{- end -}}
+ {{- else -}}
+ {{- printf "mrsub" -}}
+ {{- end -}}
+{{- end -}}
+
+{{- define "common.fullname.mrsub" -}}
+ {{- $name := ( include "common.name.mrsub" . ) -}}
+ {{- $namespace := ( include "common.namespace.aux" . ) -}}
+ {{- printf "%s-%s" $namespace $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+
+
+{{- define "common.deploymentname.mrsub" -}}
+ {{- $name := ( include "common.fullname.mrsub" . ) -}}
+ {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+
+{{- define "common.configmapname.mrsub" -}}
+ {{- $name := ( include "common.fullname.mrsub" . ) -}}
+ {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+
+{{- define "common.containername.mrsub" -}}
+ {{- $name := ( include "common.fullname.mrsub" . ) -}}
+ {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+
+{{- define "common.serviceport.mrsub.http" -}}8080{{- end -}}