Skip to content

Latest commit

 

History

History

helm_deploy

Helm init

helm init --tiller-namespace prepare-a-case-dev --service-account tiller --history-max 200

Example deploy command

helm --namespace prepare-a-case-dev --tiller-namespace prepare-a-case-dev upgrade prepare-a-case ./prepare-a-case/ --install --values=values-dev.yaml

Rolling back a release

Find the revision number for the deployment you want to roll back:

helm --tiller-namespace prepare-a-case-dev history prepare-a-case -o yaml

(note, each revision has a description which has the app version and circleci build URL)

Rollback

helm --tiller-namespace prepare-a-case-dev rollback prepare-a-case [INSERT REVISION NUMBER HERE] --wait

Setup Lets Encrypt cert

Ensure the certificate definition exists in the cloud-platform-environments repo under the relevant namespaces folder

e.g.

cloud-platform-environments/namespaces/live-1.cloud-platform.service.justice.gov.uk/[INSERT NAMESPACE NAME]/05-certificate.yaml