From 8095302af591a29d93a4d7d62645547b8cdf03ab Mon Sep 17 00:00:00 2001 From: Guilherme Oliveira Date: Thu, 5 Mar 2026 19:07:52 +0100 Subject: [PATCH 1/2] fix(chart): use correct serviceAPI.ports.http key in templates The serviceAPI.port key does not exist in the values schema. Replace the coalesce fallback with the correct serviceAPI.ports.http reference in service-grpc.yaml and configmap.yaml templates. Signed-off-by: Guilherme Oliveira --- deployment/chainloop/templates/cas/service-grpc.yaml | 2 +- deployment/chainloop/templates/controlplane/configmap.yaml | 2 +- deployment/chainloop/templates/controlplane/service-grpc.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/chainloop/templates/cas/service-grpc.yaml b/deployment/chainloop/templates/cas/service-grpc.yaml index 972aeba99..03b1fe3f8 100644 --- a/deployment/chainloop/templates/cas/service-grpc.yaml +++ b/deployment/chainloop/templates/cas/service-grpc.yaml @@ -35,7 +35,7 @@ spec: {{- end }} ports: - name: grpc - {{- $port := coalesce .Values.cas.serviceAPI.port .Values.cas.serviceAPI.ports.http }} + {{- $port := .Values.cas.serviceAPI.ports.http }} port: {{ $port }} {{- if not (eq $port .Values.cas.containerPorts.grpc) }} targetPort: {{ .Values.cas.containerPorts.grpc }} diff --git a/deployment/chainloop/templates/controlplane/configmap.yaml b/deployment/chainloop/templates/controlplane/configmap.yaml index 388e23709..4ba11e7fc 100644 --- a/deployment/chainloop/templates/controlplane/configmap.yaml +++ b/deployment/chainloop/templates/controlplane/configmap.yaml @@ -38,7 +38,7 @@ data: {{- end }} cas_server: grpc: - addr: {{ printf "%s-api:%.0f" (include "chainloop.cas.fullname" .) (coalesce .Values.cas.serviceAPI.port .Values.cas.serviceAPI.ports.http) }} + addr: {{ printf "%s-api:%.0f" (include "chainloop.cas.fullname" .) .Values.cas.serviceAPI.ports.http }} insecure: {{ empty (include "controlplane.tls-secret-name" .) }} download_url: {{ include "chainloop.cas.external_url" . }}/download {{- if .Values.cas.defaultMaxEntrySize }} diff --git a/deployment/chainloop/templates/controlplane/service-grpc.yaml b/deployment/chainloop/templates/controlplane/service-grpc.yaml index 83a96201c..3fd943430 100644 --- a/deployment/chainloop/templates/controlplane/service-grpc.yaml +++ b/deployment/chainloop/templates/controlplane/service-grpc.yaml @@ -35,7 +35,7 @@ spec: {{- end }} ports: - name: grpc - {{- $port := coalesce .Values.controlplane.serviceAPI.port .Values.controlplane.serviceAPI.ports.http }} + {{- $port := .Values.controlplane.serviceAPI.ports.http }} port: {{ $port }} {{- if not (eq $port .Values.controlplane.containerPorts.grpc) }} targetPort: {{ .Values.controlplane.containerPorts.grpc }} From d4d7617322bcc4b2329dce3b4e10f53d26727dae Mon Sep 17 00:00:00 2001 From: Guilherme Oliveira Date: Fri, 6 Mar 2026 10:59:03 +0100 Subject: [PATCH 2/2] fix(chart): bump chart version to 1.339.0 Signed-off-by: Guilherme Oliveira --- deployment/chainloop/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/chainloop/Chart.yaml b/deployment/chainloop/Chart.yaml index fc282eb8e..488a49419 100644 --- a/deployment/chainloop/Chart.yaml +++ b/deployment/chainloop/Chart.yaml @@ -7,7 +7,7 @@ description: Chainloop is an open source software supply chain control plane, a type: application # Bump the patch (not minor, not major) version on each change in the Chart Source code -version: 1.338.0 +version: 1.339.0 # Do not update appVersion, this is handled automatically by the release process appVersion: v1.80.0