helm init --tiller-namespace prepare-a-case-dev --service-account tiller --history-max 200
helm --namespace prepare-a-case-dev --tiller-namespace prepare-a-case-dev upgrade prepare-a-case ./prepare-a-case/ --install --values=values-dev.yaml
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
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