Skip to content

Commit 651d4de

Browse files
committed
1 parent 2d33bf7 commit 651d4de

File tree

9 files changed

+17570
-797
lines changed

9 files changed

+17570
-797
lines changed

.github/workflows/_tox.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ jobs:
1818
- name: Install python packages
1919
uses: ./.github/actions/install_requirements
2020

21+
- name: Install helm plugins
22+
run: helm plugin install https://github.com/losisin/helm-values-schema-json.git
23+
2124
- name: Run tox
2225
run: tox -e ${{ inputs.tox }}

.pre-commit-config.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ repos:
2424
types: [python]
2525
require_serial: true
2626

27+
- repo: https://github.com/losisin/helm-values-schema-json
28+
rev: v2.2.1
29+
hooks:
2730
- id: helm-schema
28-
name: Generate Helm schema
29-
entry: ./generate-schemas.sh
30-
language: system
31-
types: [yaml]
32-
require_serial: true
31+
args: ["--values", "Charts/fastcs/values.yaml", "--no-additional-properties", "-o", "Charts/fastcs/values.schema.json"]
32+
33+
- repo: https://github.com/losisin/helm-values-schema-json
34+
rev: v2.2.1
35+
hooks:
36+
- id: helm-schema
37+
args: ["--values", "Charts/fastcs-service/values.yaml", "--bundle", "--no-additional-properties", "-o", "Charts/fastcs-service/values.schema.json"]

Charts/fastcs-ioc/values.schema.json

Lines changed: 0 additions & 323 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
name: fastcs-ioc
2+
name: fastcs-service
33
version: 0.1.0
44
# This chart allows generating a schema for the fastcs-ioc values file.
55
# fastcs-ioc schema is used by IOC instances which have fastcs

0 commit comments

Comments
 (0)