Helm lab question solution doubts

Need to know the steps for coming to solution for the below lab question in "INTRODUCTION TO HELM, LAB: UPGRADING A HELM CHART "

The DevOps team has decided to upgrade the nginx to version 1.22 in the bitnami repository.

Make sure that the nginx version running in the cluster is 1.22.x .

In this lab question the hint says install above helm chart version 12. I would like to know how these details were found as I could not understand the basis of installing such chart version.

I was trying to search the bitnami repo for nginx using the command -
helm search repo bitnami/nginx

which gave results -
controlplane ~ ➜ helm search repo bitnami/nginx
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/nginx 13.1.4 1.23.1 NGINX Open Source is a web server that can be a…
bitnami/nginx-ingress-controller 9.2.21 1.3.0 NGINX Ingress Controller is an Ingress controll…
bitnami/nginx-intel 2.0.12 0.4.7 NGINX Open Source for Intel is a lightweight se…

Thanks in Advance .

Hi @srinivasons ,
Please use the -l|--versions flag to list all available versions.

helm search repo bitnami/nginx -l
or
helm search repo bitnami/nginx --versions

Regards,
KodeKloud Support

2 Likes

Following the answer of @Tej-Singh-Rana , I performed the below steps:

$helm search repo bitnami/nginx -l
$helm upgrade <app-nam-here> bitnami/nginx --version 13.2.24 #13.2.24 is the chart version which contains the nginx 1.23 version