From c48e7a39f5b1175516043e004ad634a47b0f5eb4 Mon Sep 17 00:00:00 2001 From: Aram Peres Date: Sun, 20 Dec 2020 17:52:29 -0500 Subject: [PATCH] Fix git scripts --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf2fbf4..03bbfef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,10 +115,8 @@ teamspeak:deploy: - echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG} # Deploy using helm chart - - cd ${TEAMSPEAK_SRC}/chart - - mkdir -p manifests/ - - helm template teamspeak ./teamspeak/ --output-dir manifests/ -f ./teamspeak/values.yaml - - kubectl apply --namespace ${DEPLOY_NAMESPACE} -R -f manifests/ + - cd ${TEAMSPEAK_SRC} + - helm upgrade --install teamspeak ./chart/teamspeak only: refs: - master @@ -183,8 +181,8 @@ chartmuseum:deploy: # Deploy using helm chart - cd ${CHARTMUSEUM_SRC} - - helm init --client-only && helm repo update - - helm upgrade --install --namespace ${DEPLOY_NAMESPACE} -f values.yaml chartmuseum stable/chartmuseum + - helm repo add chartmuseum https://chartmuseum.github.io/charts && helm repo update + - helm upgrade --install --namespace ${DEPLOY_NAMESPACE} -f values.yaml chartmuseum/chartmuseum only: refs: - master