From 841578d73f9f11226634fae90f87d06fc25d38f0 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Thu, 21 Nov 2019 16:10:38 -0500 Subject: [PATCH] Helm 3 (#35) * helmVersion: 3.0.0 * helmVersion: 3.0.0 * remove `helm init` * remove `helm init` * update with helm3 --- README.md | 4 ++-- common/cd-steps-template.yml | 5 ----- common/cd-vars-template.yml | 2 +- common/ci-steps-template.yml | 2 -- common/ci-vars-template.yml | 2 +- 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1777cdb..9100d89 100644 --- a/README.md +++ b/README.md @@ -194,12 +194,12 @@ error while releasing: could not upgrade release: rpc error: code = Unknown desc if that happens, you need to delete that failed deployment by running the following command, replacing `parrot` with the failed deployment name: ```sh -helm delete --purge parrot +helm uninstall parrot -n phippyandfriends ``` ## Credits -Some awesome people worked on the Phippy and Friends demo. [Stella Lin]() brought the idea to [Brady Gaster](), who then got a **ton** of help from [Ralph Squillace]() and [Ahmed Sabbour](http://twitter.com/sabbour) to bring it to life and [Mathieu Benoit](http://github.com/mathieu-benoit) for his Azure DevOps build pipeline. As mentioned earlier, Phippy and Friends was originally inspired by a blog post written by [Matt](https://twitter.com/technosophos) [Butcher](http://technosophos.com/). Phippy and friends were conceived by Matt Butcher, Karen Chu, and Bailey Beougher and are licensed by the CNCF under the CC-BY license. More info at phippy.io. Goldie the Gopher is based on the Go Gopher by Renee French. +Some awesome people worked on the Phippy and Friends demo. [Stella Lin]() brought the idea to [Brady Gaster](), who then got a **ton** of help from [Ralph Squillace]() and [Ahmed Sabbour](http://twitter.com/sabbour) to bring it to life and [Mathieu Benoit](http://github.com/mathieu-benoit) for his Azure DevOps pipelines. As mentioned earlier, Phippy and Friends was originally inspired by a blog post written by [Matt](https://twitter.com/technosophos) [Butcher](http://technosophos.com/). Phippy and friends were conceived by Matt Butcher, Karen Chu, and Bailey Beougher and are licensed by the CNCF under the CC-BY license. More info at [phippy.io](http://phippy.io). Goldie the Gopher is based on the Go Gopher by Renee French. You can help too, by submitting a pull request and adding your own contributions. When you do, make sure to add your contributions' summary to this section, too! diff --git a/common/cd-steps-template.yml b/common/cd-steps-template.yml index 38d8125..54b47eb 100644 --- a/common/cd-steps-template.yml +++ b/common/cd-steps-template.yml @@ -15,11 +15,6 @@ steps: az aks get-credentials \ -n $(aks) \ -g $(aks) - helm init \ - --upgrade \ - --wait \ - --service-account tiller \ - --force-upgrade helm repo add \ $(registryName) \ https://$(registryServerName)/helm/v1/repo \ diff --git a/common/cd-vars-template.yml b/common/cd-vars-template.yml index 8c24ac3..b8a3ee7 100644 --- a/common/cd-vars-template.yml +++ b/common/cd-vars-template.yml @@ -2,6 +2,6 @@ parameters: projectName: '' variables: - helmVersion: 2.16.1 + helmVersion: 3.0.0 registryServerName: '$(registryName).azurecr.io' projectName: ${{ parameters.projectName }} diff --git a/common/ci-steps-template.yml b/common/ci-steps-template.yml index e632483..148b26c 100644 --- a/common/ci-steps-template.yml +++ b/common/ci-steps-template.yml @@ -24,8 +24,6 @@ steps: helmVersionToInstall: $(helmVersion) - bash: | cd $(projectName) - helm init \ - --client-only helm package \ --app-version $(imageTag) \ charts/$(projectName) diff --git a/common/ci-vars-template.yml b/common/ci-vars-template.yml index f2d77fb..f0fe3c5 100644 --- a/common/ci-vars-template.yml +++ b/common/ci-vars-template.yml @@ -2,7 +2,7 @@ parameters: projectName: '' variables: - helmVersion: 2.16.1 + helmVersion: 3.0.0 registryServerName: '$(registryName).azurecr.io' projectName: ${{ parameters.projectName }} imageName: ${{ parameters.projectName }}