AKS workload cluster HelmChartProxy ArgoCD app error
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, helm, kubernetes
- Domain
- devops, infrastructure
Research direction
Start with the README's new team setup documents and reproduce the HelmChartProxy argocd-app failure using kubectl describe. Trace the generated ArgoCD app values and the Helm release manifest around the metadata.name decoding error. Done means the ArgoCD application installs automatically and connects to the repository URL without errors.
Written by the indexing model from the issue text.
Description
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Follow the readme - new team setup documents.
Any log messages given by the failure
$kubectl describe helmchartproxy argocd-app
Name: argocd-app
Namespace: default
Labels: <none>
Annotations: <none>
API Version: addons.cluster.x-k8s.io/v1alpha1
Kind: HelmChartProxy
Metadata:
Creation Timestamp: 2024-07-25T23:06:19Z
Finalizers:
helmchartproxy.addons.cluster.x-k8s.io
Generation: 1
Resource Version: 38792
UID: 59301810-87dd-45cd-9183-1a221f75a881
Spec:
Chart Name: argocd-apps
Cluster Selector:
Namespace: default
Options:
Enable Client Cache: false
Install:
Create Namespace: true
Timeout: 5m0s
Upgrade:
Max History: 10
Wait: true
Wait For Jobs: true
Repo URL: https://argoproj.github.io/argo-helm
Values Template: applications:
- name: apps-infra
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
project: default
sources:
- repoURL: https://github.com/Azure-Samples/aks-platform-engineering.git
path: aks-platform-engineering/tree/main/gitops/apps/infra
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
prune: false
selfHeal: false
syncOptions:
- CreateNamespace=true
revisionHistoryLimit: null
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas
info:
- name: url
value: https://argoproj.github.io/
Status:
Conditions:
Last Transition Time: 2024-07-25T23:06:22Z
Message: unable to build kubernetes objects from release manifest: unable to decode "": json: cannot unmarshal number into Go struct field ObjectMeta.metadata.name of type string
Reason: HelmInstallOrUpgradeFailed @ HelmReleaseProxy/argocd-apps-aks0-45xk5
Severity: Error
Status: False
Type: Ready
Last Transition Time: 2024-07-25T23:06:22Z
Message: unable to build kubernetes objects from release manifest: unable to decode "": json: cannot unmarshal number into Go struct field ObjectMeta.metadata.name of type string
Reason: HelmInstallOrUpgradeFailed @ HelmReleaseProxy/argocd-apps-aks0-45xk5
Severity: Error
Status: False
Type: HelmReleaseProxiesReady
Last Transition Time: 2024-07-25T23:06:20Z
Status: True
Type: HelmReleaseProxySpecsUpToDate
Matching Clusters:
API Version: cluster.x-k8s.io/v1beta1
Kind: Cluster
Name: aks0
Namespace: default
Observed Generation: 1
Events: <none>
Expected/desired behavior
The ArgoCD application installed automatically properly connects to the repository URL for the app without errors.
- Dominant language
- TypeScript
- Stars
- 160
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/aks-platform-engineering
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure-Samples/aks-platform-engineering#93 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in Azure-Samples/aks-platform-engineering
Similar issues
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Crush Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ElementsProject/cln-application#167 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Quantco/pnpm-licenses#17 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100