Skip to main content

Helm

Upgrade the Authenticator's Image

First, locate the Helm directory that was setup during the initial installation.

Edit the version of the authenticator sidecar in the Chart.yaml

dependencies:
- name: corsha-authenticator
repository: https://corsha.jfrog.io/corsha/corsha #where does Helm need to pull the dependency's chart
version: "<NEW VERSION>"

You will need to run a dependency update prior to upgrading the chart.

helm dependency update

Upgrade the chart

helm upgrade <my-release> <my-chart> --namespace $NS --values values.yaml

Verify the Authenticator's Upgrade

Make sure that the pod containing the Corsha Authenticator sidecar terminates and restarts in your namespace. You can do so by running the command below, with output also shown as an example.

To do so, we can run the following command.

note

Ensure you replace $NS with your Kubernetes namespace.

kubectl -n $NS get pods
$ kubectl  -n $NS get pods
NAME READY STATUS RESTARTS AGE
<podname> 1/1 Terminating 0 38s

And then after a couple of seconds it should come back up.

$ kubectl  -n $NS get pods
NAME READY STATUS RESTARTS AGE
<podname> 1/1 Running 0 3s

If you do not see this status after configuring the Authenticator as a sidecar, please reach out to your Corsha TPOC for additional help.