diff --git a/solutions/cncf-generated/argo/argo-4211-cross-build-images-for-arm.json b/solutions/cncf-generated/argo/argo-4211-cross-build-images-for-arm.json new file mode 100644 index 00000000..d4fa4153 --- /dev/null +++ b/solutions/cncf-generated/argo/argo-4211-cross-build-images-for-arm.json @@ -0,0 +1,76 @@ +{ + "version": "kc-mission-v1", + "name": "argo-4211-cross-build-images-for-arm", + "missionClass": "solution", + "author": "KubeStellar Bot", + "authorGithub": "kubestellar", + "mission": { + "title": "argo: Cross Build Images for ARM", + "description": "Cross Build Images for ARM. Requested by 76+ users.", + "type": "feature", + "status": "completed", + "steps": [ + { + "title": "Check current argo deployment", + "description": "Verify your argo version and configuration:\n```bash\nkubectl get pods -n argo -l app.kubernetes.io/name=argo\nhelm list -n argo 2>/dev/null || echo \"Not installed via Helm\"\n```\nThis feature requires a working argo installation." + }, + { + "title": "Review argo configuration", + "description": "Inspect the relevant argo configuration:\n```bash\nkubectl get all -n argo -l app.kubernetes.io/name=argo\nkubectl get configmap -n argo -l app.kubernetes.io/part-of=argo\n```\nCurrently ArgoCD supports building arm64 images but doesn't publish them due to issues with cross-building with normal docker and GitHub Actions (AFAIK). There's some recent advancements that would enable this with GitHub Actions." + }, + { + "title": "Apply the fix for Cross Build Images for ARM", + "description": "## Summary\r\n\nI added a function to publish arm64 docker image in release workflow using `docker/build-push-action`.\n\nI tested this workflow with my repo and docker hub.\nhttps://github.com/dragoneena12/argo-cd/actions/runs/1045272993\nhttps://hub.docker.com/repository/docker/dragoneena12/argocd\n\nThis\n```yaml\ndocker run --rm -it -v $(pwd)/ui/package.json:/src/package.json:ro -v $(pwd)/ui/yarn.lock:/src/yarn.lock:ro -v $(pwd)/cache:/cache --workdir /src node:12.18.4 yarn install --cache-folder /cache\n```" + }, + { + "title": "Verify the feature works", + "description": "Test that the new capability is working as expected:\n```bash\nkubectl get pods -n argo -l app.kubernetes.io/name=argo\nkubectl get events -n argo --sort-by='.lastTimestamp' | tail -10\n```\nConfirm the feature described in \"Cross Build Images for ARM\" is functioning correctly." + } + ], + "resolution": { + "summary": "## Summary\r\n\nI added a function to publish arm64 docker image in release workflow using `docker/build-push-action`.\n\nI tested this workflow with my repo and docker hub.\nhttps://github.com/dragoneena12/argo-cd/actions/runs/1045272993\nhttps://hub.docker.com/repository/docker/dragoneena12/argocd\n\nThis should be useful for argocd users who use arm64 k8s clusters like raspi4 or M1Mac.", + "codeSnippets": [ + "docker run --rm -it -v $(pwd)/ui/package.json:/src/package.json:ro -v $(pwd)/ui/yarn.lock:/src/yarn.lock:ro -v $(pwd)/cache:/cache --workdir /src node:12.18.4 yarn install --cache-folder /cache", + "Built the image (this took awhile)" + ] + } + }, + "metadata": { + "tags": [ + "argo", + "graduated", + "app-definition", + "feature" + ], + "cncfProjects": [ + "argo" + ], + "targetResourceKinds": [], + "difficulty": "intermediate", + "issueTypes": [ + "feature" + ], + "maturity": "graduated", + "sourceUrls": { + "issue": "https://github.com/argoproj/argo-cd/issues/4211", + "repo": "https://github.com/argoproj/argo-cd", + "pr": "https://github.com/argoproj/argo-cd/pull/6758" + }, + "reactions": 76, + "comments": 20, + "synthesizedBy": "copilot" + }, + "prerequisites": { + "kubernetes": ">=1.24", + "tools": [ + "kubectl" + ], + "description": "A running Kubernetes cluster with argo installed or the issue environment reproducible." + }, + "security": { + "scannedAt": "2026-03-11T06:17:49.465Z", + "scannerVersion": "cncf-gen-3.0.0", + "sanitized": true, + "findings": [] + } +}