Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom domains are cleared when updating ingress via Azure CLI #681

Closed
1 of 3 tasks
fabiankaimer opened this issue Mar 19, 2023 · 1 comment
Closed
1 of 3 tasks
Labels
CLI Related to CLI Pending Deployment Update is in, waiting to be deployed

Comments

@fabiankaimer
Copy link

Please provide us with the following information:

This issue is a: (mark with an x)

  • bug report -> please search issues before submitting
  • documentation issue or request
  • regression (a behavior that used to work and stopped in a new release)

Issue description

When using the az containerapp ingress enable command (in my case I call it from my devops pipeline) to update my pre-existing ingress, my manually assigend custom domains are cleared. This issue seems pretty similar to that one: Issue 234. However, it does only occur on when using az containerapp ingress enable.

Steps to reproduce

  1. Create a containerapp and add a custom domain
  2. Update containerapp ingress via az containerapp ingress enable, e.g.:
az containerapp ingress enable \
          -n $(guiContainerAppName) \
          -g $(resourceGroup) \
          --type internal \
          --target-port 80
  1. Check custom domains

Expected behavior [What you expected to happen.]
I would have expected the custom domains do not be wiped when updating the ingress via Azure CLI.

Actual behavior [What actually happened.]
The custom domains are wiped when updating the ingress via Azure CLI.

Additional context

The output of az --version:

az --version
azure-cli                         2.46.0

core                              2.46.0
telemetry                          1.0.8

Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1

Python location '/opt/az/bin/python3'
Extensions directory '/home/[USERNAME]/.azure/cliextensions'

Python (Linux) 3.10.10 (main, Mar  6 2023, 09:39:14) [GCC 11.3.0]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 Pending a first pass to read, tag, and assign label Mar 19, 2023
@SophCarp SophCarp added investigating currently looking into the issue CLI Related to CLI Pending Deployment Update is in, waiting to be deployed and removed Needs: triage 🔍 Pending a first pass to read, tag, and assign investigating currently looking into the issue labels Mar 24, 2023
@SophCarp
Copy link

We now have the "az containerapp ingress update" command which only changes the affect the mentioned properties! This command won't wipe your custom domains. Thanks for bringing up this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Related to CLI Pending Deployment Update is in, waiting to be deployed
Projects
None yet
Development

No branches or pull requests

2 participants