Azure / Azure/bicep

Redeploy an bicep deployment, which contains an APP-GW results in deleting the existing backend pools, listeners and rules

Open
#2,316 35 comments 0 reactions 0 assignees View on GitHub
intermediate language provider bug provider improvement revisit
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

**Bicep version**
Bicep CLI version 0.3.255 (589f0375df)

**Describe the bug**
TL;DR: Redeploy an bicep deployment, which contains an APP-GW results in deleting the existing backend pools, listeners and rules

We use the azure application gateway ingress controller for our AKS cluster. Depending on the workload and deployed Ingress it will automatically creats the backend pool/listeners and rules in the Application Gateway.

Wen we redeploy the bicep scripts, these existing backend pools, listeners and rules gets deleted and the defaults get created again (you can not deploy an applicaton gatway empty...)

Is there a way to preserve existing backend pools, listeners and rules, when redeploying the bicep script?

**To Reproduce**
Follow https://github.com/Azure/application-gateway-kubernetes-ingress/blob/master/docs/setup/install-new.md and redeploy the bicep script, which contains the APP-GW.

Contributor guide

Open the contributing guide

Research direction

Start by following the linked application-gateway-kubernetes-ingress installation guide and redeploying the Bicep script that contains the Application Gateway. Compare the gateway's backend pools, listeners, and rules before and after redeployment. Done means existing controller-created configuration is preserved while the deployment still succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, kubernetes
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.