Fix license for PV and PVC yamls
When conditions are used at the start of the yaml
the hashed (#) comments of the license are not parsable
by the json parser. There license comments have been
wrapped in {{/* */}}.
Change-Id: I16c539ae4280f8ecacfdedb1f8caad894f3a081f
Issue-ID: OOM-821
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
diff --git a/kubernetes/clamp/charts/mariadb/templates/pv.yaml b/kubernetes/clamp/charts/mariadb/templates/pv.yaml
index bb4073f..184728f 100644
--- a/kubernetes/clamp/charts/mariadb/templates/pv.yaml
+++ b/kubernetes/clamp/charts/mariadb/templates/pv.yaml
@@ -1,3 +1,4 @@
+{{/*
# Copyright © 2017 Amdocs, Bell Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
# 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.
+*/}}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}}
kind: PersistentVolume