summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-pv-pvc.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-18 13:40:14 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-18 13:40:14 +0000
commitab2f1d2449fd42e0ab6fc09f6fae74a8237cea7b (patch)
treec6ef9659af1f96fb52b85f0d3c68cd86e6b5b4cd /kubernetes/policy/templates/policy-pv-pvc.yaml
parent8e804c0d29ed7b3d1aad46e71f7d5695539c2a8d (diff)
parent290c8fc3c43bb200fb1fc40028270e4a968985c1 (diff)
Merge "Disable persisting policy mariadb"
Diffstat (limited to 'kubernetes/policy/templates/policy-pv-pvc.yaml')
-rw-r--r--kubernetes/policy/templates/policy-pv-pvc.yaml32
1 files changed, 0 insertions, 32 deletions
diff --git a/kubernetes/policy/templates/policy-pv-pvc.yaml b/kubernetes/policy/templates/policy-pv-pvc.yaml
deleted file mode 100644
index 5dc0c61c43..0000000000
--- a/kubernetes/policy/templates/policy-pv-pvc.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-#{{ if not .Values.disablePolicyMariadb }}
-apiVersion: v1
-kind: PersistentVolume
-metadata:
- name: "{{ .Values.nsPrefix }}-policy-db"
- namespace: "{{ .Values.nsPrefix }}-policy"
- labels:
- name: "{{ .Values.nsPrefix }}-policy-db"
-spec:
- capacity:
- storage: 2Gi
- accessModes:
- - ReadWriteMany
- persistentVolumeReclaimPolicy: Retain
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/mariadb/data/
----
-kind: PersistentVolumeClaim
-apiVersion: v1
-metadata:
- name: policy-db
- namespace: "{{ .Values.nsPrefix }}-policy"
-spec:
- accessModes:
- - ReadWriteMany
- resources:
- requests:
- storage: 2Gi
- selector:
- matchLabels:
- name: "{{ .Values.nsPrefix }}-policy-db"
-#{{ end }} \ No newline at end of file