aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-gui/templates/configmap.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-10-06 17:01:28 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-06 17:01:28 +0000
commita1b3470744bcf73eb9d11fd9758931b1c8371e83 (patch)
tree237d6da1ac61435ae8e97bba6019e26e955bc6d0 /kubernetes/policy/components/policy-gui/templates/configmap.yaml
parent47b8de5e8160d367f70115bb0c8caa758e60f3f1 (diff)
parentb3aef7b242d410d040f33d0db126d601cce69bee (diff)
Merge "[POLICY] Add helm chart for policy-gui"
Diffstat (limited to 'kubernetes/policy/components/policy-gui/templates/configmap.yaml')
-rw-r--r--kubernetes/policy/components/policy-gui/templates/configmap.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-gui/templates/configmap.yaml b/kubernetes/policy/components/policy-gui/templates/configmap.yaml
new file mode 100644
index 0000000000..4f600882e9
--- /dev/null
+++ b/kubernetes/policy/components/policy-gui/templates/configmap.yaml
@@ -0,0 +1,34 @@
+{{/*
+# ============LICENSE_START=======================================================
+# Copyright (C) 2021 Nordix Foundation.
+# ================================================================================
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+*/}}
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ include "common.release" . }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
+
+{{ include "common.log.configMap" . }}