summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-cs/templates
diff options
context:
space:
mode:
authorkj <keren.joseph@amdocs.com>2018-04-01 10:30:11 +0300
committerkj <keren.joseph@amdocs.com>2018-04-01 10:30:11 +0300
commitb9ab2263a25d36a2de3924cea6f0b098f0cf11d2 (patch)
tree01b7aded2ea139b4a629044c7d9954c2c0402944 /kubernetes/sdc/charts/sdc-cs/templates
parentb1f9efe112b56cec2e185d2e649af76726d3ed41 (diff)
SDC chart hotfix
Issue-ID: OOM-851 Change-Id: I431a54d7b218a7271efba8496a71412085052959 Signed-off-by: kj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/sdc/charts/sdc-cs/templates')
-rw-r--r--kubernetes/sdc/charts/sdc-cs/templates/pv.yaml2
-rw-r--r--kubernetes/sdc/charts/sdc-cs/templates/pvc.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/sdc/charts/sdc-cs/templates/pv.yaml b/kubernetes/sdc/charts/sdc-cs/templates/pv.yaml
index bb4073f227..184728f8ad 100644
--- a/kubernetes/sdc/charts/sdc-cs/templates/pv.yaml
+++ b/kubernetes/sdc/charts/sdc-cs/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
diff --git a/kubernetes/sdc/charts/sdc-cs/templates/pvc.yaml b/kubernetes/sdc/charts/sdc-cs/templates/pvc.yaml
index d9e59ca487..e27c3311e9 100644
--- a/kubernetes/sdc/charts/sdc-cs/templates/pvc.yaml
+++ b/kubernetes/sdc/charts/sdc-cs/templates/pvc.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: PersistentVolumeClaim