diff options
author | Mike Elliott <mike.elliott@amdocs.com> | 2017-09-20 19:42:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-20 19:42:50 +0000 |
commit | c66ca602f26e66145091d529ef970be27fb766d9 (patch) | |
tree | e0ae5620a5105e5a9ae9bda5b7fdcf27ca612adf /kubernetes/clamp/templates/clamp-pv-pvc.yaml | |
parent | 5291ba3c1595fd9e47b3dbf92f24071110c4b839 (diff) | |
parent | f776f3d5fa1a660bee24057e65625b62eedf382c (diff) |
Merge "Added CLAMP containers to ONAP Kubernetes"
Diffstat (limited to 'kubernetes/clamp/templates/clamp-pv-pvc.yaml')
-rw-r--r-- | kubernetes/clamp/templates/clamp-pv-pvc.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kubernetes/clamp/templates/clamp-pv-pvc.yaml b/kubernetes/clamp/templates/clamp-pv-pvc.yaml new file mode 100644 index 0000000000..5a82752a17 --- /dev/null +++ b/kubernetes/clamp/templates/clamp-pv-pvc.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: "{{ .Values.nsPrefix }}-clamp-db" + namespace: "{{ .Values.nsPrefix }}-clamp" + labels: + name: "{{ .Values.nsPrefix }}-clamp-db" +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/clamp/mariadb/data +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: clamp-db + namespace: "{{ .Values.nsPrefix }}-clamp" +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi + selector: + matchLabels: + name: "{{ .Values.nsPrefix }}-clamp-db" |