Skip to content

issues with version sorting? (0.1.9 considered newer than 0.1.11) #2

Description

@voidlily
[2025-06-30T23:26:50Z INFO  argo_helm_updater] app: roadie-broker-prod | chart: roadie-kubernetes-cluster-access has new version 0.1.9 (current: 0.1.11)

0.1.11 is newer than 0.1.9, which suggests to me that there's a bug in how versions are getting sorted somewhere?

---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: roadie-broker
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  goTemplate: true
  goTemplateOptions: ["missingkey=error"]
  generators:
    - clusters:
        selector:
          matchExpressions:
            - key: env
              operator: Exists
  template:
    metadata:
      name: "roadie-broker-{{ .nameNormalized }}"
      finalizers:
        - resources-finalizer.argocd.argoproj.io
    spec:
      sources:
        - repoURL: https://charts.roadie.io
          targetRevision: "0.1.11"
          chart: roadie-kubernetes-cluster-access
          helm:
            releaseName: roadie-broker
            valueFiles:
              - "$values/path/to/values.yaml"
        - repoURL: <repo>
          targetRevision: main
          ref: values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions