Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
StrawnSC committed Jun 1, 2022
1 parent e69fad3 commit d9e7379
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/containerapp/azext_containerapp/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,10 @@ def containerapp_up_logic(cmd, resource_group_name, name, managed_env, image, en

ingress_def = None
if target_port is not None and ingress is not None:
ingress_def = IngressModel
if ca_exists:
ingress_def = containerapp_def["properties"]["configuration"]["ingress"]
else:
ingress_def = IngressModel
ingress_def["external"] = external_ingress
ingress_def["targetPort"] = target_port
containerapp_def["properties"]["configuration"]["ingress"] = ingress_def
Expand Down

0 comments on commit d9e7379

Please sign in to comment.