Skip to content

Commit 6249b41

Browse files
committed
switch to hand coded services schema
1 parent fe0cf65 commit 6249b41

File tree

7 files changed

+14
-59
lines changed

7 files changed

+14
-59
lines changed

.github/workflows/_helm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/upload-artifact@v4
5757
with:
5858
name: helm-chart-schemas
59-
path: Charts/*/*.schema.json
59+
path: schemas/*
6060

6161
- name: Push tagged helm chart to registry
6262
# TODO - switch to using https://github.com/helm/chart-releaser-action of maybe the docker action?

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,3 @@ repos:
3131
args:
3232
- --config
3333
- Charts/fastcs/.schema.config.yaml
34-
35-
- repo: https://github.com/losisin/helm-values-schema-json
36-
rev: v2.2.1
37-
hooks:
38-
- id: helm-schema
39-
args:
40-
- --config
41-
- Charts/fastcs/.schema.service.config.yaml

Charts/fastcs/.schema.service.config.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

Charts/fastcs/service.values.schema.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

Charts/fastcs/service.values.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

schemas/fastcs-service.schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"type": "object",
4+
"properties": {
5+
"fastcs": {
6+
"$ref": "fastcs-values.schema.json",
7+
"type": "object",
8+
"additionalProperties": false
9+
}
10+
},
11+
"additionalProperties": false
12+
}

schemas/fastcs-values.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Charts/fastcs/values.schema.json

0 commit comments

Comments
 (0)