X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fdep.git;a=blobdiff_plain;f=smo-install%2Foran_oom%2Fdmaapmediatorservice%2Ftemplates%2Fconfigmap.yaml;fp=smo-install%2Foran_oom%2Fdmaapmediatorservice%2Ftemplates%2Fconfigmap.yaml;h=2dce181f9c28eea9e5f8b7601e6803223a83ed54;hp=8958996788a09c27b85a9771c3ac6c980399314f;hb=918108f729c368db61fe904024129f21269e19b7;hpb=c9ace66e2b4635918c4c4c473dfc7bcbeb41b7ae diff --git a/smo-install/oran_oom/dmaapmediatorservice/templates/configmap.yaml b/smo-install/oran_oom/dmaapmediatorservice/templates/configmap.yaml index 89589967..2dce181f 100644 --- a/smo-install/oran_oom/dmaapmediatorservice/templates/configmap.yaml +++ b/smo-install/oran_oom/dmaapmediatorservice/templates/configmap.yaml @@ -17,13 +17,12 @@ apiVersion: v1 kind: ConfigMap -metadata: - name: {{ include "common.name.dmaapmediatorservice" . }}-configmap-data - namespace: {{ include "common.namespace.nonrtric" . }} - labels: - app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.dmaapmediatorservice" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} +metadata: {{ include "common.resourceMetadata" (dict "suffix" "type-configmap" "dot" . ) | nindent 2 }} data: -{{ tpl (.Files.Glob "resources/data/*").AsConfig . | indent 2 }} + type_config.json: | + {{- (dict "types" .Values.types) | toRawJson | nindent 4 }} +--- +{{ if .Values.dmaapTopicInit.enabled -}} +{{ include "dmaapTopic.initConfigMap" . }} +--- +{{- end -}}