Skip to content

Commit

Permalink
Add schemas for all values files
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Nov 18, 2024
1 parent bfe01be commit 437cdca
Show file tree
Hide file tree
Showing 8 changed files with 423 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/commons/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": null
}
4 changes: 4 additions & 0 deletions charts/cron-jobs/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": null
}
88 changes: 88 additions & 0 deletions charts/default-backend/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cron": {
"properties": {
"replaceOldestPodHourly": {
"type": "boolean"
}
},
"type": "object"
},
"hpa": {
"properties": {
"enable": {
"type": "boolean"
},
"maxReplicas": {
"type": "integer"
}
},
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"ingress": {
"properties": {
"annotations": {
"properties": {
"kubernetes.io/ingress.class": {
"type": "string"
},
"kubernetes.io/tls-acme": {
"type": "string"
}
},
"type": "object"
},
"hosts": {
"type": "array"
}
},
"type": "object"
},
"replicas": {
"type": "integer"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
64 changes: 64 additions & 0 deletions charts/docker-hub-exporter/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"grafana": {
"properties": {
"influxdb": {
"type": "boolean"
},
"prometheus": {
"type": "boolean"
}
},
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"organisations": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
4 changes: 4 additions & 0 deletions charts/horizontal-pod-autoscalers/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": null
}
53 changes: 53 additions & 0 deletions charts/pi-hole-exporter/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configurationSecret": {
"type": "string"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"replicas": {
"type": "integer"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
159 changes: 159 additions & 0 deletions charts/redirect/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cron": {
"properties": {
"replaceOldestPodWeekly": {
"type": "boolean"
}
},
"type": "object"
},
"grafana": {
"properties": {
"influxdb": {
"type": "boolean"
},
"prometheus": {
"type": "boolean"
}
},
"type": "object"
},
"hpa": {
"properties": {
"enable": {
"type": "boolean"
},
"maxReplicas": {
"type": "integer"
}
},
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"ingress": {
"properties": {
"annotations": {
"properties": {
"kubernetes.io/ingress.class": {
"type": "string"
},
"kubernetes.io/tls-acme": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"labels": {
"properties": {
"language": {
"type": "string"
}
},
"type": "object"
},
"podSecurityContext": {
"properties": {},
"type": "object"
},
"redirect": {
"properties": {
"buildin": {
"type": "string"
},
"defaultFallbackTarget": {
"type": "string"
},
"enforceHttps": {
"type": "boolean"
},
"hosts": {
"properties": {
"www.ceesjankiewiet.nl": {
"type": "string"
}
},
"type": "object"
},
"ingressHosts": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"replicas": {
"type": "integer"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"securityContext": {
"properties": {},
"type": "object"
},
"service": {
"properties": {
"type": {
"type": "string"
}
},
"type": "object"
},
"serviceAccount": {
"properties": {
"create": {
"type": "boolean"
},
"name": {
"type": "null"
}
},
"type": "object"
}
},
"type": "object"
}
Loading

0 comments on commit 437cdca

Please sign in to comment.