Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
43cbdd1
Add AKS starter deployment E2E test (Phase 1)
Feb 5, 2026
6ef79de
Fix AKS test: register required resource providers
Feb 5, 2026
7b754c1
Fix AKS test: use Standard_B2s_v2 VM size
Feb 5, 2026
886b180
Fix AKS test: use Standard_D2s_v3 VM size
Feb 5, 2026
4318b51
Add Phase 2 & 3: Aspire project creation, Helm chart generation, and …
Feb 5, 2026
d38acb6
Fix Kubernetes deployment: Add container build/push step
Feb 5, 2026
f46b53e
Fix duplicate Service ports in Kubernetes publisher
Feb 5, 2026
f175bca
Add explicit AKS-ACR attachment verification step
Feb 5, 2026
3ab65aa
Fix AKS image pull: correct Helm value paths and add ACR check
Feb 6, 2026
da42bb7
Fix duplicate Service/container ports: compare underlying values not …
Feb 6, 2026
1057b42
Re-enable AppService deployment tests
Feb 6, 2026
45adcbb
Add endpoint verification via kubectl port-forward to AKS test
Feb 6, 2026
c2aa4d7
Wait for pods to be ready before port-forward verification
Feb 6, 2026
41dd194
Use retry loop for health endpoint verification and log HTTP status c…
Feb 6, 2026
d1d6551
Use real app endpoints: /weatherforecast and / instead of /health
Feb 6, 2026
1934af2
Improve comments explaining duplicate port dedup rationale
Feb 6, 2026
a9bbfb9
Refactor cleanup to async pattern matching other deployment tests
Feb 6, 2026
f3aed68
Fix duplicate K8s ports: skip DefaultHttpsEndpoint in ProcessEndpoints
Feb 6, 2026
5fa81a7
Add AKS + Redis E2E deployment test
Feb 6, 2026
7d3be48
Fix ACR name collision between parallel AKS tests
Feb 6, 2026
dd62bbf
Fix Redis Helm deployment: provide missing cross-resource secret value
Feb 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,16 @@ internal static StatefulSet ToStatefulSet(this IResource resource, KubernetesRes
},
};

// Deduplicate ports by port number and protocol to avoid invalid Service specs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we allocating ports properly there should be no dupes unless the user explicitly added dupes

var addedPorts = new HashSet<(string Port, string Protocol)>();
foreach (var (_, mapping) in context.EndpointMappings)
{
var portKey = (mapping.Port.ToScalar(), mapping.Protocol);
if (!addedPorts.Add(portKey))
{
continue; // Skip duplicate port/protocol combinations
}

service.Spec.Ports.Add(
new()
{
Expand Down
Loading
Loading