openstack-helm/tempest/templates/pvc-tempest.yaml
Siri Kim be471eaaee Tempest: change manifests.pvc to pvc.enabled from pvc-tempest.yaml
This PS remove change pvc-tempest.yaml from manifests.pvc to
pvc.enabled as there is no manifests enabled value for pvc.
Bug was tempest pod is in pending state as pvc is not found.

Change-Id: Ib6704725c7415e95237f633d340479e33b43d85b
2018-07-12 07:20:15 +00:00

31 lines
901 B
YAML

# {{/*
# Copyright 2017 The Openstack-Helm Authors.
#
# 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.
# */}}
{{- if .Values.pvc.enabled }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ .Values.pvc.name }}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.pvc.requests.storage }}
storageClassName: {{ .Values.pvc.storage_class }}
{{- end }}