From 134b25c323225930eef8dcf3c80f61e6aa13d994 Mon Sep 17 00:00:00 2001 From: Sergiy Kulanov Date: Thu, 30 Jul 2026 11:34:00 +0300 Subject: [PATCH] EPMDEDP-17244: fix: align scaffolded helm chart README with helm-docs Charts scaffolded with the Envoy Gateway (httproute) exposure failed the helm-docs check on the first build pipeline: the README template listed httproute keys out of alphabetical order and documented gateway.name/namespace as separate rows instead of the single object row helm-docs generates from the values doc comment. Reorder the httproute block before image keys, collapse the gateway rows into one object entry, and keep ingress rows only for non-envoy scaffolds. Signed-off-by: Sergiy Kulanov --- .../helm-chart/kubernetes/README.tmpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build/templates/applications/helm-chart/kubernetes/README.tmpl b/build/templates/applications/helm-chart/kubernetes/README.tmpl index 9e55ed36..a7c68f9f 100644 --- a/build/templates/applications/helm-chart/kubernetes/README.tmpl +++ b/build/templates/applications/helm-chart/kubernetes/README.tmpl @@ -26,21 +26,21 @@ A Helm chart for Kubernetes | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | | fullnameOverride | string | `""` | | -| image.digest | string | `""` | Image digest for immutable reference (e.g., sha256:abc123...). If set, deployed as :tag@digest. | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"{{.Name}}"` | | -| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | -| imagePullSecrets[0].name | string | `"regcred"` | | {{- if eq .IngressController "envoy" }} | httproute.annotations | object | `{}` | | | httproute.dnsWildcard | string | `"{{.DnsWildcard}}"` | | | httproute.enabled | bool | `false` | | -| httproute.gateway.name | string | `"{{.GatewayName}}"` | | -| httproute.gateway.namespace | string | `"{{.GatewayNamespace}}"` | | +| httproute.gateway | object | `{"name":"{{.GatewayName}}","namespace":"{{.GatewayNamespace}}"}` | Parent Gateway the HTTPRoute attaches to. Defaults to the platform gateway. | | httproute.hosts[0].host | string | `"edpDefault"` | | | httproute.hosts[0].paths[0].path | string | `"/"` | | | httproute.hosts[0].paths[0].pathType | string | `"PathPrefix"` | | -{{- else }} +{{- end }} +| image.digest | string | `""` | Image digest for immutable reference (e.g., sha256:abc123...). If set, deployed as :tag@digest. | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"{{.Name}}"` | | +| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | +| imagePullSecrets[0].name | string | `"regcred"` | | +{{- if ne .IngressController "envoy" }} | ingress.annotations | object | `{}` | | | ingress.className | string | `""` | | | ingress.dnsWildcard | string | `"{{.DnsWildcard}}"` | |