Skip to content

Commit b1d86d3

Browse files
authored
fix(schema): all properties should be nested under properties key (#114)
Signed-off-by: Tomas Coufal <[email protected]>
1 parent d94c8a2 commit b1d86d3

File tree

3 files changed

+90
-90
lines changed

3 files changed

+90
-90
lines changed

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ sources:
3838
# This is the chart version. This version number should be incremented each time you make changes
3939
# to the chart and its templates, including the app version.
4040
# Versions are expected to follow Semantic Versioning (https://semver.org/)
41-
version: 1.1.0
41+
version: 1.1.1

charts/backstage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Backstage Helm Chart
33

44
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage)
5-
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square)
5+
![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square)
66
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
77

88
A Helm chart for deploying a Backstage application

charts/backstage/values.schema.json

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -608,99 +608,99 @@
608608
}
609609
}
610610
}
611-
}
612-
},
613-
"postgresql": {
614-
"title": "PostgreSQL chart configuration",
615-
"description": "Ref. https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml",
616-
"$ref": "https://raw.githubusercontent.com/bitnami/charts/main/bitnami/postgresql/values.schema.json"
617-
},
618-
"serviceAccount": {
619-
"title": "Service Account Configuration",
620-
"type": "object",
621-
"additionalProperties": false,
622-
"properties": {
623-
"create": {
624-
"title": "Enable the creation of a ServiceAccount for Backstage pods",
625-
"type": "boolean",
626-
"default": false
627-
},
628-
"name": {
629-
"title": "Name of the ServiceAccount to use",
630-
"description": "If not set and `serviceAccount.create` is true, a name is generated",
631-
"type": "string",
632-
"default": ""
633-
},
634-
"labels": {
635-
"title": "Additional custom labels to the service ServiceAccount.",
636-
"type": "object",
637-
"additionalProperties": {
638-
"type": "string"
611+
},
612+
"postgresql": {
613+
"title": "PostgreSQL chart configuration",
614+
"description": "Ref. https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml",
615+
"$ref": "https://raw.githubusercontent.com/bitnami/charts/main/bitnami/postgresql/values.schema.json"
616+
},
617+
"serviceAccount": {
618+
"title": "Service Account Configuration",
619+
"type": "object",
620+
"additionalProperties": false,
621+
"properties": {
622+
"create": {
623+
"title": "Enable the creation of a ServiceAccount for Backstage pods",
624+
"type": "boolean",
625+
"default": false
639626
},
640-
"default": {}
641-
},
642-
"annotations": {
643-
"title": "Additional custom annotations for the ServiceAccount.",
644-
"type": "object",
645-
"additionalProperties": {
646-
"type": "string"
627+
"name": {
628+
"title": "Name of the ServiceAccount to use",
629+
"description": "If not set and `serviceAccount.create` is true, a name is generated",
630+
"type": "string",
631+
"default": ""
647632
},
648-
"default": {}
649-
},
650-
"automountServiceAccountToken": {
651-
"title": "Auto-mount the service account token in the pod",
652-
"type": "boolean",
653-
"default": true
654-
}
655-
}
656-
},
657-
"metrics": {
658-
"title": "Metrics configuration",
659-
"description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus",
660-
"type": "object",
661-
"additionalProperties": false,
662-
"properties": {
663-
"serviceMonitor": {
664-
"title": "ServiceMonitor configuration",
665-
"description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator",
666-
"type": "object",
667-
"additionalProperties": false,
668-
"properties": {
669-
"enabled": {
670-
"title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created",
671-
"description": "Prometheus Operator must be installed in your cluster prior to enabling.",
672-
"type": "boolean",
673-
"default": false
633+
"labels": {
634+
"title": "Additional custom labels to the service ServiceAccount.",
635+
"type": "object",
636+
"additionalProperties": {
637+
"type": "string"
674638
},
675-
"annotations": {
676-
"title": "ServiceMonitor annotations",
677-
"type": "object",
678-
"additionalProperties": {
679-
"type": "string"
680-
},
681-
"default": {}
639+
"default": {}
640+
},
641+
"annotations": {
642+
"title": "Additional custom annotations for the ServiceAccount.",
643+
"type": "object",
644+
"additionalProperties": {
645+
"type": "string"
682646
},
683-
"labels": {
684-
"title": "Additional ServiceMonitor labels",
685-
"type": "object",
686-
"additionalProperties": {
687-
"type": "string"
647+
"default": {}
648+
},
649+
"automountServiceAccountToken": {
650+
"title": "Auto-mount the service account token in the pod",
651+
"type": "boolean",
652+
"default": true
653+
}
654+
}
655+
},
656+
"metrics": {
657+
"title": "Metrics configuration",
658+
"description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus",
659+
"type": "object",
660+
"additionalProperties": false,
661+
"properties": {
662+
"serviceMonitor": {
663+
"title": "ServiceMonitor configuration",
664+
"description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator",
665+
"type": "object",
666+
"additionalProperties": false,
667+
"properties": {
668+
"enabled": {
669+
"title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created",
670+
"description": "Prometheus Operator must be installed in your cluster prior to enabling.",
671+
"type": "boolean",
672+
"default": false
688673
},
689-
"default": {}
690-
},
691-
"interval": {
692-
"title": "ServiceMonitor scrape interval",
693-
"type": [
694-
"string",
695-
"null"
696-
],
697-
"default": null
698-
},
699-
"path": {
700-
"title": "ServiceMonitor endpoint path",
701-
"description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md",
702-
"type": "string",
703-
"default": "/metrics"
674+
"annotations": {
675+
"title": "ServiceMonitor annotations",
676+
"type": "object",
677+
"additionalProperties": {
678+
"type": "string"
679+
},
680+
"default": {}
681+
},
682+
"labels": {
683+
"title": "Additional ServiceMonitor labels",
684+
"type": "object",
685+
"additionalProperties": {
686+
"type": "string"
687+
},
688+
"default": {}
689+
},
690+
"interval": {
691+
"title": "ServiceMonitor scrape interval",
692+
"type": [
693+
"string",
694+
"null"
695+
],
696+
"default": null
697+
},
698+
"path": {
699+
"title": "ServiceMonitor endpoint path",
700+
"description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md",
701+
"type": "string",
702+
"default": "/metrics"
703+
}
704704
}
705705
}
706706
}

0 commit comments

Comments
 (0)