Skip to content

[BUG] failed to install with helm package: metadata.labels: Invalid value: "0.7.8+6ceffd1140bc" #1188

@weiyuanke

Description

@weiyuanke

📋 Prerequisites

  • I have searched the existing issues to avoid creating a duplicate
  • By submitting this issue, you agree to follow our Code of Conduct
  • I am using the latest version of the software
  • I have tried to clear cache/cookies or used incognito mode (if ui-related)
  • I can consistently reproduce this issue

🎯 Affected Service(s)

Not Sure

🚦 Impact/Severity

Minor inconvenience

🐛 Bug Description

failed to install with helm.
both 0.7.7 and 0.7.8 failed, helm artifacts address: oci://ghcr.io/kagent-dev/kagent/helm/kagent

It is very likely that there is an issue with the Helm chart package: special characters are not handled properly in the common labels.

{{- if .Chart.Version }}
app.kubernetes.io/version: {{ .Chart.Version | quote }}
{{- end }}

.Chart.Version contains special characters, for example 0.7.8+6ceffd1140bc, which includes an additional build identifier.

🔄 Steps To Reproduce

helm install kagent,version 0.7.8

🤔 Expected Behavior

No response

📱 Actual Behavior

No response

💻 Environment

No response

🔧 CLI Bug Report

No response

🔍 Additional Context

No response

📋 Logs

📷 Screenshots

No response

🙋 Are you willing to contribute?

  • I am willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions