Skip to content

Update values.schema.json #2148

Update values.schema.json

Update values.schema.json #2148

# DO NOT EDIT. Generated with:
#
# [email protected]
#
# This workflow validates the JSON schema of the cluster-app, which is located in
# `helm/*/values.schema.json`, using schemalint. It also ensures that the `values.yaml`
# file located in `helm/*/values.yaml` is generated with helm-values-gen, using the
# defaults defined in the JSON schema.
name: JSON schema validation
on:
pull_request:
branches:
- master
- main
paths:
- 'helm/**/values.yaml'
- 'helm/**/values.schema.json'
push: {}
jobs:
validate:
name: Verify values.schema.json with schemalint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Run schemalint
id: run-schemalint
uses: giantswarm/schemalint/actions/verify-helm-schema@79be66ce4ed5c6154615f68e9b97ab3110b62968 # v2.5.1
with:
rule-set: 'cluster-app'
generate:
name: Check that values.yaml is generated from values.schema.json with helm-values-gen
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Run helm-values-gen
id: run-helm-values-gen
uses: giantswarm/helm-values-gen/actions/ensure-generated@bb33e5f342b2026c9ba36073a4f2fdc74495f8c4 # v1.0.3