{
  "id": "kubernetes/helm-release-name-too-long",
  "signature": "Error: release name longer than 53 characters",
  "signature_zh": "错误：发布名称超过 53 个字符",
  "regex": "Error: release name longer than 53 characters",
  "domain": "kubernetes",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Helm enforces a 53-character limit on release names because they are used as Kubernetes resource names (e.g., ConfigMaps, Secrets) which have a 63-character limit, leaving 10 characters for Helm's suffix.",
  "root_cause_type": "generic",
  "root_cause_zh": "Helm 对发布名称强制限制为 53 个字符，因为发布名称用作 Kubernetes 资源名称（如 ConfigMap、Secret），这些资源名称限制为 63 个字符，留出 10 个字符给 Helm 的后缀。",
  "versions": [
    {
      "version": "Helm 3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Helm 3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Kubernetes 1.25",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Adding a random suffix to the release name does not reduce length; it may exceed the limit further.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Modifying Helm source code to bypass the limit is not portable and breaks compatibility with other Helm installations.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Shorten the release name to 53 characters or less. For example, rename 'my-very-long-application-release-v2' to 'my-app-v2'.",
      "success_rate": 0.95,
      "how": "Shorten the release name to 53 characters or less. For example, rename 'my-very-long-application-release-v2' to 'my-app-v2'.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a Helm alias or environment variable to map a long name to a short one: `helm install short-name ./chart --set fullName=my-very-long-application-release-v2`.",
      "success_rate": 0.85,
      "how": "Use a Helm alias or environment variable to map a long name to a short one: `helm install short-name ./chart --set fullName=my-very-long-application-release-v2`.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Shorten the release name to 53 characters or less. For example, rename 'my-very-long-application-release-v2' to 'my-app-v2'.",
    "Use a Helm alias or environment variable to map a long name to a short one: `helm install short-name ./chart --set fullName=my-very-long-application-release-v2`."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://helm.sh/docs/topics/advanced/#release-name-limitations",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2023-03-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}