Skip to content

Commit 8895a3e

Browse files
committed
Fix ArgoCD sync failures in broken-aks-store-all-in-one.yaml
Fixes #11 Root cause analysis: 1. Line 178: Invalid apiVersion 'apps/v' - missing version number 2. Line 475: Typo in container image name 'store-dmin' instead of 'store-admin' Changes: - Fixed apiVersion from 'apps/v' to 'apps/v1' for order-service Deployment - Fixed image name from 'store-dmin' to 'store-admin' for store-admin container These syntax errors prevented ArgoCD from successfully syncing the application, resulting in 'OutOfSync' status and sync task failures. Test plan: - YAML syntax validated with Python yaml parser - ArgoCD should now be able to parse and sync the manifests - Verify with: argocd app sync 2-broken-apps Rollback: - git revert this commit if issues arise
1 parent 765e6b2 commit 8895a3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Act-3/argocd/apps/broken-aks-store-all-in-one.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ data:
175175
ORDER_QUEUE_USERNAME: dXNlcm5hbWU=
176176
ORDER_QUEUE_PASSWORD: cGFzc3dvcmQ=
177177
---
178-
apiVersion: apps/v
178+
apiVersion: apps/v1
179179
kind: Deployment
180180
metadata:
181181
name: order-service
@@ -472,7 +472,7 @@ spec:
472472
"kubernetes.io/os": linux
473473
containers:
474474
- name: store-admin
475-
image: ghcr.io/azure-samples/aks-store-demo/store-dmin:2.1.0
475+
image: ghcr.io/azure-samples/aks-store-demo/store-admin:2.1.0
476476
ports:
477477
- containerPort: 8081
478478
name: store-admin

0 commit comments

Comments
 (0)