Skip to content

Fix ArgoCD sync failures: correct apiVersion and image name in broken-aks-store-all-in-one.yaml workload#30

Draft
Copilot wants to merge 5 commits intomainfrom
copilot/fix-argocd-deployment-error-yet-again
Draft

Fix ArgoCD sync failures: correct apiVersion and image name in broken-aks-store-all-in-one.yaml workload#30
Copilot wants to merge 5 commits intomainfrom
copilot/fix-argocd-deployment-error-yet-again

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

ArgoCD app 2-broken-apps failing to sync with "one or more synchronization tasks are not valid" due to malformed Kubernetes manifest.

Issues Fixed

Incomplete apiVersion (line 178)

-apiVersion: apps/v
+apiVersion: apps/v1

Order-service Deployment had truncated API version causing validation failure.

Typo in container image (line 475)

-image: ghcr.io/azure-samples/aks-store-demo/store-dmin:2.1.0
+image: ghcr.io/azure-samples/aks-store-demo/store-admin:2.1.0

Store-admin deployment referenced non-existent store-dmin image.

Impact

Enables deployment of 20 Kubernetes resources (MongoDB, RabbitMQ, order-service, makeline-service, product-service, store-front, store-admin, virtual-customer, virtual-worker) to default namespace on aks-eastus2 cluster.

Original prompt

This section details on the original issue you should resolve

<issue_title>🚨 ArgoCD Deployment Failed: 2-broken-apps</issue_title>
<issue_description>## ArgoCD Deployment Failure

Application: 2-broken-apps
Timestamp: 2026-02-03T18:43:13Z

Cluster Information

Field Value
Cluster Name aks-eastus2
Namespace default

Application Status

Field Value
Health Status Degraded
Sync Status OutOfSync
Revision 8cd04df204028ff78613a69fdb630625864037c6
Repository https://github.com/dcasati/argocd-notification-examples.git

Error Message

one or more synchronization tasks are not valid (retried 2 times).

Troubleshooting Commands

# Check application status in ArgoCD
argocd app get 2-broken-apps

# Check pods in namespace
kubectl get pods -n default

# Describe failed pods
kubectl describe pods -n default

# Get pod logs
kubectl logs -n default <pod-name>

# Check events
kubectl get events -n default --sort-by='.lastTimestamp'

Quick Links


This issue was automatically created by ArgoCD Notifications
</issue_description>

Comments on the Issue (you are @copilot in this section)

Custom agent used: Cluster Doctor
An expert Kubernetes administrator agent specializing in cluster troubleshooting, networking, NetworkPolicy, security posture, admission controllers, and GitOps workflows. The agent assesses initial reports, independently verifies or rejects claims, triages root causes, and proposes or applies fixes (including GitOps PRs) when authorized.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: raykao <860691+raykao@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix ArgoCD deployment failure for 2-broken-apps Fix ArgoCD sync failures: correct apiVersion and image name in broken-aks-store-all-in-one.yaml Feb 4, 2026
Copilot AI requested a review from raykao February 4, 2026 03:17
@raykao raykao requested a review from dcasati February 4, 2026 03:19
@raykao
Copy link
Contributor

raykao commented Feb 4, 2026

@dcasati Please review the changes by Copilot and ensure that these are legit.

@dcasati dcasati changed the title Fix ArgoCD sync failures: correct apiVersion and image name in broken-aks-store-all-in-one.yaml Fix ArgoCD sync failures: correct apiVersion and image name in broken-aks-store-all-in-one.yaml workload Feb 4, 2026
Copy link
Contributor

@dcasati dcasati left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dcasati dcasati left a comment

Choose a reason for hiding this comment

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

LGTM

@dcasati
Copy link
Contributor

dcasati commented Feb 4, 2026

ready for you @raykao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚨 ArgoCD Deployment Failed: 2-broken-apps

3 participants