Added CLAMP containers to ONAP Kubernetes
Added the initial deployment yamls for CLAMP and updated one-click
Issue-ID: OOM-12
Change-Id: I48c842d77bf95ad53dcff9ab28edf542b1cb4bf5
Signed-off-by: Dusan Rozman <dusan.rozman@amdocs.com>
diff --git a/kubernetes/clamp/templates/clamp-pv-pvc.yaml b/kubernetes/clamp/templates/clamp-pv-pvc.yaml
new file mode 100644
index 0000000..5a82752
--- /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"