Added vnfsdk containers to ONAP Kubernetes
Created the initial base deployment yamls for VNFSDK.
Issue-ID: OOM-320
Change-Id: I3b062654dcb3d48c91cdc90d59597bf27a662b23
Signed-off-by: Dusan Rozman <dusan.rozman@amdocs.com>
diff --git a/kubernetes/vnfsdk/templates/postgres-deployment.yaml b/kubernetes/vnfsdk/templates/postgres-deployment.yaml
new file mode 100644
index 0000000..76721d1
--- /dev/null
+++ b/kubernetes/vnfsdk/templates/postgres-deployment.yaml
@@ -0,0 +1,24 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: postgres
+ namespace: {{ .Values.nsPrefix }}-vnfsdk
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: postgres
+ template:
+ metadata:
+ labels:
+ app: postgres
+ name: postgres
+ spec:
+ hostname: postgres
+ containers:
+ - args:
+ image: {{ .Values.image.postgresImage }}:{{ .Values.image.postgresVersion }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: "postgres"
+ imagePullSecrets:
+ - name: {{ .Values.nsPrefix }}-docker-registry-key