From 1b9b4611f4eca6b74cbd832d5852685a41363375 Mon Sep 17 00:00:00 2001 From: springified Date: Mon, 13 Apr 2020 13:48:32 +0530 Subject: [PATCH] Update postgres-deployment.yml --- kubefiles/postgres-deployment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kubefiles/postgres-deployment.yml b/kubefiles/postgres-deployment.yml index 76c8fea..1043bfc 100644 --- a/kubefiles/postgres-deployment.yml +++ b/kubefiles/postgres-deployment.yml @@ -3,6 +3,9 @@ kind: Deployment metadata: name: postgres spec: + selector: + matchLabels: + app: postgres replicas: 1 template: metadata: @@ -31,4 +34,4 @@ spec: # mapped to the PVC - name: postgres-pvc persistentVolumeClaim: - claimName: postgres-pvc \ No newline at end of file + claimName: postgres-pvc