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

Support --allow-insecure option in az containerapp compose create command #7632

Open
vienleidl opened this issue May 17, 2024 · 4 comments
Open
Labels
Auto-Assign Auto assign by bot ContainerApp customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@vienleidl
Copy link

vienleidl commented May 17, 2024

Describe the bug

After run the az container compose create command with the following docker-compose file, the Ingress has been enabled successfully with the correct protocol and target port. However, there is no option in docker-compose file to allow insecure connections.

version: '3.4'
services:
  app:
    image: 'ACR_NAME.azurecr.io/Repo_Name/Image_Name:Tag_Name'
    build:
      dockerfile: ./docker-compose/broker/Dockerfile
      args:
      - TOKEN=${TOKEN:-default}
      context: ./..
    environment:
      - HOST=app.internal.$AZURE_CONTAINERAPPS_ENV_DEFAULT_DOMAIN
    expose:
    - 8080
    deploy:
      replicas: 1
      resources:
        reservations:
          cpus: '1.0'
          memory: 2gb

Related command

az containerapp compose create

Errors

N/A

Issue script & Debug output

N/A

Expected behavior

There should be a configuration in the docker-compose file to allow insecure connections.

Environment Summary

{
  "azure-cli": "2.60.0",
  "azure-cli-core": "2.60.0",
  "azure-cli-telemetry": "1.1.0",
  "extensions": {
    "aks-preview": "3.0.0b13",
    "azure-devops": "1.0.0",
    "containerapp": "0.3.50"
  }
}

Additional context

No response

@vienleidl vienleidl added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot ContainerApp Service Attention This issue is responsible by Azure service team. labels May 17, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented May 17, 2024

Thank you for opening this issue, we will look into it.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @calvinsID.

@Greedygre
Copy link
Contributor

Hi @vienleidl

az containerapp compose create not support --allow-insecure, you can use:
az containerapp ingress update --allow-insecure

@vienleidl
Copy link
Author

Hi @vienleidl

az containerapp compose create not support --allow-insecure, you can use: az containerapp ingress update --allow-insecure

Yes. I did that already. But I'd like to use the compose create command with the current Docker Compose file and try to deploy with Azure DevOps pipeline.

@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot ContainerApp customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants