[POLICY] certInit support + refactoring
[oom.git] / kubernetes / policy / components / policy-xacml-pdp / templates / configmap.yaml
old mode 100644 (file)
new mode 100755 (executable)
similarity index 82%
rename from kubernetes/policy/charts/policy-xacml-pdp/templates/configmap.yaml
rename to kubernetes/policy/components/policy-xacml-pdp/templates/configmap.yaml
index 3ca4f82..85ce86c
@@ -1,5 +1,5 @@
 #  ============LICENSE_START=======================================================
-#   Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+#   Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
 #   Modifications Copyright (C) 2020 Nordix Foundation.
 #  ================================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,6 +22,11 @@ kind: ConfigMap
 metadata:
   name: {{ include "common.fullname" . }}-configmap
   namespace: {{ include "common.namespace" . }}
+  labels:
+    app: {{ include "common.name" . }}
+    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+    release: {{ include "common.release" . }}
+    heritage: {{ .Release.Service }}
 {{- with .Files.Glob "resources/config/*store" }}
 binaryData:
 {{- range $path, $bytes := . }}