From 28d348f74aaf95e792251b9d6fa7342e98f86961 Mon Sep 17 00:00:00 2001 From: Christophe de Carvalho Date: Thu, 17 Aug 2023 14:12:02 +0100 Subject: [PATCH 1/2] feat(deployment): allow to configure annotations of controlplane service this is required in GKE to be able to configure custom backend healthcheck on this service. Signed-off-by: Christophe de Carvalho --- .../chainloop/templates/controlplane/service_http.yaml | 7 ++++++- deployment/chainloop/values.yaml | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/deployment/chainloop/templates/controlplane/service_http.yaml b/deployment/chainloop/templates/controlplane/service_http.yaml index fbd5ed699..080482c6a 100644 --- a/deployment/chainloop/templates/controlplane/service_http.yaml +++ b/deployment/chainloop/templates/controlplane/service_http.yaml @@ -2,7 +2,12 @@ apiVersion: v1 kind: Service metadata: name: {{ include "chainloop.controlplane.fullname" . }} - labels: {{- include "chainloop.controlplane.labels" . | nindent 4 }} + labels: + {{- include "chainloop.controlplane.labels" . | nindent 4 }} + {{- with .Values.controlplane.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.controlplane.service.type }} ports: diff --git a/deployment/chainloop/values.yaml b/deployment/chainloop/values.yaml index 2ebfb9e97..bd582d7cf 100644 --- a/deployment/chainloop/values.yaml +++ b/deployment/chainloop/values.yaml @@ -175,6 +175,8 @@ controlplane: ## @extra controlplane.service.nodePorts.http Node port for HTTP. NOTE: choose port between <30000-32767> # nodePorts: # http: "30800" + annotations: {} + ## @skip controlplane.service.annotations serviceAPI: ## @param controlplane.serviceAPI.type Service type From e95246e369d379e4494a0aba480492e482ac1f66 Mon Sep 17 00:00:00 2001 From: Christophe de Carvalho Date: Sun, 20 Aug 2023 18:52:46 +0100 Subject: [PATCH 2/2] bump Chart patch version Signed-off-by: Christophe de Carvalho --- 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 53cecfef5..ba64d20a4 100644 --- a/deployment/chainloop/Chart.yaml +++ b/deployment/chainloop/Chart.yaml @@ -4,7 +4,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.10.1 +version: 1.10.2 # Do not update appVersion, this is handled automatically by the release process appVersion: v0.15.0