summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-api/templates/configmap.yaml
diff options
context:
space:
mode:
authorChenfei Gao <cgao@research.att.com>2019-02-27 22:14:45 -0500
committerJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-04 16:14:48 -0600
commit9292e88bd72d265346473c6a498042169de1e87c (patch)
tree2406738f94520053e1224be86389dc6064258610 /kubernetes/policy/charts/policy-api/templates/configmap.yaml
parent6bfc50c41e338b52818323ffe9550a94d1111dea (diff)
Add helmchart for policy/api component
Added helmchart for policy-api component. Issue-ID: POLICY-1270 Change-Id: I419f6ba38aaa8161199f09a3dfcc892c6a7bb952 Signed-off-by: Chenfei Gao <cgao@research.att.com> Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'kubernetes/policy/charts/policy-api/templates/configmap.yaml')
-rw-r--r--kubernetes/policy/charts/policy-api/templates/configmap.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/policy-api/templates/configmap.yaml b/kubernetes/policy/charts/policy-api/templates/configmap.yaml
new file mode 100644
index 0000000000..d90b0c93dc
--- /dev/null
+++ b/kubernetes/policy/charts/policy-api/templates/configmap.yaml
@@ -0,0 +1,25 @@
+# ============LICENSE_START=======================================================
+# Copyright (C) 2019 AT&T Intellectual Property. 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.
+# 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" . }}-configmap
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/config.json").AsConfig . | indent 2 }}