From c7f4921a72a498e232f51abe8050f12f71c38a6f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 29 Jan 2025 01:11:44 +0000 Subject: [PATCH 1/2] Update JSON schema --- helm/supersonic/values.schema.json | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/helm/supersonic/values.schema.json b/helm/supersonic/values.schema.json index 0041e16..a0a3b42 100644 --- a/helm/supersonic/values.schema.json +++ b/helm/supersonic/values.schema.json @@ -476,11 +476,47 @@ }, "tolerations": { "type": "array" + }, + "grafana": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "ingress": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "hostName": { + "type": "string" + }, + "ingressClassName": { + "type": "string" + }, + "annotations": { + "type": "object" + } + }, + "required": [ + "annotations", + "enabled", + "hostName", + "ingressClassName" + ] + } + }, + "required": [ + "enabled", + "ingress" + ] } }, "required": [ "autoscaler", "envoy", + "grafana", "ingress", "nameOverride", "nodeSelector", From 931d06d46b311fc7dd883e2a26e283265740c99f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 29 Jan 2025 01:11:53 +0000 Subject: [PATCH 2/2] Update helm docs --- docs/.values-table.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/.values-table.md b/docs/.values-table.md index 305ee80..eb09efe 100644 --- a/docs/.values-table.md +++ b/docs/.values-table.md @@ -59,4 +59,10 @@ | ingress.ingressClassName | string | `""` | | | ingress.annotations | object | `{}` | | | nodeSelector | object | `{}` | Node selector for all pods (Triton and Envoy) | -| tolerations | list | `[]` | Tolerations for all pods (Triton and Envoy) | \ No newline at end of file +| tolerations | list | `[]` | Tolerations for all pods (Triton and Envoy) | +| grafana.enabled | bool | `false` | Enable or disable Grafana deployment | +| grafana.ingress | object | `{"annotations":{},"enabled":false,"hostName":"","ingressClassName":"haproxy"}` | Ingress configuration for Grafana | +| grafana.ingress.enabled | bool | `false` | Enable or disable ingress for Grafana | +| grafana.ingress.hostName | string | `""` | Hostname for Grafana ingress | +| grafana.ingress.ingressClassName | string | `"haproxy"` | Ingress class name (e.g. nginx, haproxy) | +| grafana.ingress.annotations | object | `{}` | Additional annotations for Grafana ingress | \ No newline at end of file