원클릭으로
helm-values-schema
Maintain values.schema.json for Helm charts that use helm-values-schema-json annotations in values.yaml.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Maintain values.schema.json for Helm charts that use helm-values-schema-json annotations in values.yaml.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Bump the prometheus-operator version shipped by the kube-prometheus-stack chart. Use when a new prometheus-operator/prometheus-operator release is out and the chart's appVersion needs to follow it: syncs CRDs, checks for new CRD kinds and RBAC changes, bumps the chart version, updates UPGRADE.md, and opens a PR. Triggers on "bump prometheus-operator", "update kube-prometheus-stack to the latest operator", "sync operator CRDs".
Plan, write, and validate helm-unittest tests for a chart. Discovers chart structure, maps coverage gaps, and applies repository helm-unittest conventions.
SOC 직업 분류 기준
| name | helm-values-schema |
| description | Maintain values.schema.json for Helm charts that use helm-values-schema-json annotations in values.yaml. |
| user_invocable | true |
Use this skill when the user asks to add, change, review, or regenerate a Helm chart values.schema.json, or when a chart feature changes values.yaml in a chart that uses schema annotations.
A chart uses helm-values-schema-json if charts/<chart>/values.yaml contains either:
# @schema comments# $schema: ./values.schema.jsonWhen a chart uses this flow, changes to values.yaml must keep schema annotations and values.schema.json in sync.
Prefer Context7 for current helm-values-schema-json docs when available.
Upstream documentation:
https://github.com/losisin/helm-values-schema-json/blob/main/docs/README.md
Helm validates chart values with JSON Schema draft-07. Keep generated schemas compatible with draft-07 even if external schema tooling supports newer drafts.
charts/<chart>/values.yaml.# @schema annotations or # $schema: ./values.schema.json are present.# @schema and helm-docs # -- comments, # @schema comments must be above the helm-docs description comments.values.schema.json.helm-values-schema-json supports using descriptions from helm-docs comments since v2.0.0, but only when enabled with --use-helm-docs.
Example:
helm schema --use-helm-docs
# -- My description
fullnameOverride: bar
Generates:
{
"fullnameOverride": {
"description": "My description",
"type": "string"
}
}
The schema plugin does not support helm-docs-specific properties such as:
# @default --# @section --It also does not support detached helm-docs comments. Comments must be directly above the property or inline in a supported form.
Supported:
# fullnameOverride -- This works
fullnameOverride: bar
Not supported by the schema plugin:
fullnameOverride: bar
# fullnameOverride -- This does not work for schema generation.
fullnameOverride: bar
Helm-docs itself does not understand # @schema comments. When both # @schema and helm-docs comments are above a field, put # @schema first so schema annotations are not included in the generated description. Treat the inverse order as invalid: helm-docs will include the schema annotation text in the description.
Good:
# @schema maxLength:10
# -- My awesome nameOverride description
nameOverride: "myapp"
Bad:
# -- My awesome nameOverride description
# @schema maxLength:10
nameOverride: "myapp"
# @schema annotations may be placed inline, on the line above a field, or in specific cases below a block. Preserve the surrounding style already used in the chart, except when the existing style conflicts with helm-docs ordering. If a value has a helm-docs # -- description, any standalone # @schema comments for that value must be above the # -- comment, never between the helm-docs comment and the value.
Examples:
fullnameOverride: "myapp" # @schema maxLength:10;pattern:^[a-z]+$
# @schema maxLength:10;pattern:^[a-z]+$
nameOverride: "myapp"
# @schema maxLength:10
# -- My awesome nameOverride description
nameOverride: "myapp"
# Invalid with helm-docs: the schema annotation becomes part of the description.
# -- My awesome nameOverride description
# @schema maxLength:10
nameOverride: "myapp"
resources:
limits: {}
requests: {}
# @schema additionalProperties:false
Multiple schema annotations can be separated with semicolons.
For Loki, use the repository target:
make helm-schema HELM_CHART=loki
The underlying command currently runs:
helm schema --config .github/linters/.schema.yaml -f charts/loki/values.yaml -o charts/loki/values.schema.json
If adding schema generation for another chart, follow the chart's local Makefile or CI pattern instead of inventing a one-off command.
values.schema.json when it can be regenerated.# @schema annotations unless the associated value is removed.# @schema comments above helm-docs # -- comments. Never add a standalone # @schema comment below a helm-docs description comment for the same value.values.schema.json in the change.