Skip to content

Commit

Permalink
Merge pull request #49 from foomo/gateway-crds-0.1.1
Browse files Browse the repository at this point in the history
feat(gateway-crds): update schema
  • Loading branch information
franklinkim authored Nov 28, 2024
2 parents 2e65dc1 + 127a90c commit 932d2ef
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ schema:
helm-schema -n -c charts/beam
helm-schema -n -c charts/namespace
helm-schema -n -c charts/sesamy-gtm
helm-schema -n -c charts/gateway-crds
helm-schema -n -c charts/contentserver
helm-schema -n -c charts/squadron-keel-server
helm-schema -n -c charts/squadron-keel-cronjob
helm-schema -n -c charts/squadron-nextjs-server
helm schema-gen charts/csp-reporter/values.yaml > charts/csp-reporter/values.schema.json
helm schema-gen charts/gateway-crds/values.yaml > charts/gateway-crds/values.schema.json
helm schema-gen charts/sesamy-umami/values.yaml > charts/sesamy-umami/values.schema.json
#@set -e; for dir in ./charts/* ; do \
# helm-schema -n -c $${dir} ;\
Expand Down
6 changes: 3 additions & 3 deletions charts/gateway-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sources:
annotations:
"artifacthub.io/links": |
- name: Chart Source
url: https://github.com/foomo/helm-charts
url: https://github.com/foomo/helm-charts/tree/main/charts/gateway-crds
version: 0.1.0
appVersion: 0.1.0
version: 0.1.1
appVersion: 0.1.1
4 changes: 2 additions & 2 deletions charts/gateway-crds/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gateway-crds

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.1](https://img.shields.io/badge/AppVersion-0.1.1-informational?style=flat-square)

Foomo Gateway Custom Resource Definition Chart

Expand All @@ -18,4 +18,4 @@ Foomo Gateway Custom Resource Definition Chart
|-----|------|---------|-------------|
| fullnameOverride | string | `""` | Overrides the chart's computed fullname |
| nameOverride | string | `""` | Overrides the chart's name |
| namespaceOverride | string | `""` | The name of the Namespace to deploy If not set, `.Release.Namespace` is used |
| namespaceOverride | string | `""` | The name of the Namespace to deploy |
46 changes: 33 additions & 13 deletions charts/gateway-crds/values.schema.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"fullnameOverride": {
"type": "string"
},
"nameOverride": {
"type": "string"
},
"namespaceOverride": {
"type": "string"
}
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fullnameOverride": {
"default": "",
"description": "Overrides the chart's computed fullname",
"required": [],
"title": "fullnameOverride",
"type": "string"
},
"global": {
"description": "Global values are values that can be accessed from any chart or subchart by exactly the same name.",
"required": [],
"title": "global",
"type": "object"
},
"nameOverride": {
"default": "",
"description": "Overrides the chart's name",
"required": [],
"title": "nameOverride",
"type": "string"
},
"namespaceOverride": {
"default": "",
"description": "The name of the Namespace to deploy",
"required": [],
"title": "namespaceOverride",
"type": "string"
}
}
},
"required": [],
"type": "object"
}
16 changes: 13 additions & 3 deletions charts/gateway-crds/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# yaml-language-server: $schema=values.schema.json

# @schema
# type: string
# @schema
# -- Overrides the chart's name
# @section -- Overrides
nameOverride: ""
nameOverride: ''
# @schema
# type: string
# @schema
# -- Overrides the chart's computed fullname
# @section -- Overrides
fullnameOverride: ""
fullnameOverride: ''
# @schema
# type: string
# @schema
# -- The name of the Namespace to deploy
# If not set, `.Release.Namespace` is used
# @section -- Overrides
namespaceOverride: ''

0 comments on commit 932d2ef

Please sign in to comment.