Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

AKS workload cluster HelmChartProxy ArgoCD app error

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

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

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure-Samples/aks-platform-engineering

All issues in Azure-Samples/aks-platform-engineering

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.