Hello Domagoj Leder,
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Before destroying the existing application gateway, please make sure that you have a backup of the configuration settings.
You can use the Get-AzApplicationGatewayConfig cmdlet to export the configuration settings to a file.
Once you have the backup, you can proceed with the following steps to deploy a new application gateway using Helm:
Install Helm on your machine if you haven't already done so.
You can follow the instructions provided in the official Helm documentation.
https://helm.sh/docs/intro/install/
Add the Azure Application Gateway Helm repository to your Helm client:
<span class=" active-doc-2" data-doc-items="2">helm repo add application-gateway-kubernetes-ingress https<a href="#doc-pos=2" data-tag-index="2"></a></span>://appgwingress.blob.core.windows.net/ingress-azure-helm-package/
Update the Helm repository
helm repo update
Create a values file with the configuration settings for your new application gateway. You can use the sample values file provided in the Helm repository as a starting point:
helm show values application-gateway-kubernetes-ingress/ingress-azure > values.yaml
Modify the values file to match your requirements.
You can refer to the official documentation for the available configuration options
https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ingress-controller-add-on-new
Install the Helm chart with the modified values file:
helm install my-app-gateway application-gateway-kubernetes-ingress/ingress-azure -f values.yaml
Replace my-app-gateway with the name you want to give to your new application gateway.
Verify that the new application gateway has been deployed successfully by checking the status of the Helm release:
helm status my-app-gateway
You can also check the status of the application gateway in the Azure portal.
hope this helps. Let me know if you have any further questions.