################################################################################
-# Copyright (c) 2020 Nordix Foundation. #
+# Copyright (c) 2020-2023 Nordix Foundation. #
+# Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ .Release.Name }}-policy-configmap
+ name: {{ include "common.name.policymanagementservice" . }}-configmap-application-yaml
namespace: {{ include "common.namespace.nonrtric" . }}
labels:
app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.name.policymanagementservice" . }}-configmap-application-json-configuration
+ namespace: {{ include "common.namespace.nonrtric" . }}
+ labels:
+ app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.policymanagementservice" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/data/*").AsConfig . | indent 2 }}
\ No newline at end of file