Applcm install.yml modified with postgres 49/3549/1
authorSrinivasan Selvam <srinivasan.s.n@huawei.com>
Fri, 5 Jun 2020 02:30:56 +0000 (08:00 +0530)
committerSrinivasan Selvam <srinivasan.s.n@huawei.com>
Fri, 5 Jun 2020 02:31:42 +0000 (08:01 +0530)
Signed-off-by: Srinivasan Selvam <srinivasan.s.n@huawei.com>
Change-Id: I8818cd91fd24696abc653de2dea51e6103eccfb4

ocd/infra/playbooks/roles/applcm/tasks/install.yml

index c78655e..12c7aa4 100644 (file)
     src: deploy
     dest: /tmp/applcm/
 
+- name: Install applcm postgres-configmap
+  shell:
+    cmd: kubectl apply -f /tmp/applcm/deploy/postgres-config.yaml
+
 - name: Install applcm - pvc
   shell:
-    cmd: kubectl apply -f /tmp/applcm/deploy/postgres-db-pvc.yaml
+    cmd: kubectl apply -f /tmp/applcm/deploy/postgres-storage.yaml
 
 - name: Install applcm - db
   shell:
     cmd: kubectl apply -f /tmp/applcm/deploy/postgres-k8s.yaml
 
+- name: Install applcm - postgres-service
+  shell:
+    cmd: kubectl apply -f /tmp/applcm/deploy/postgres-service.yaml
+
 - name: Install applcm - db-init-config
   shell:
 # yamllint disable rule:line-length