From 5a2b07cc1f31a6c38d748c7f996689a2e6dbe643 Mon Sep 17 00:00:00 2001 From: Srinivasan Selvam Date: Fri, 5 Jun 2020 08:00:56 +0530 Subject: [PATCH] Applcm install.yml modified with postgres Signed-off-by: Srinivasan Selvam Change-Id: I8818cd91fd24696abc653de2dea51e6103eccfb4 --- ocd/infra/playbooks/roles/applcm/tasks/install.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ocd/infra/playbooks/roles/applcm/tasks/install.yml b/ocd/infra/playbooks/roles/applcm/tasks/install.yml index c78655e..12c7aa4 100644 --- a/ocd/infra/playbooks/roles/applcm/tasks/install.yml +++ b/ocd/infra/playbooks/roles/applcm/tasks/install.yml @@ -18,14 +18,22 @@ 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 -- 2.16.6