add helm repo update and fix helm upgrade

Signed-off-by: Fabrice Flore-Thebault <themr0c@users.noreply.github.com>
This commit is contained in:
Fabrice Flore-Thebault
2019-01-15 14:47:59 +01:00
parent ef3aab1357
commit d69f6acf64

View File

@@ -80,7 +80,8 @@
- name: Deploy and Activate Postgres (Kubernetes)
shell: |
helm upgrade --install --name {{ postgresql_service_name }} \
helm repo update --tiller-namespace={{ tiller_namespace | default('kube-system') }}
helm upgrade {{ postgresql_service_name }} --install \
--namespace {{ kubernetes_namespace }} \
--set postgresqlUsername={{ pg_username }} \
--set postgresqlPassword={{ pg_password }} \