Skip to content

Commit a7bb2a5

Browse files
authored
feat(deployment): allow to configure annotations of controlplane service (#301)
Signed-off-by: Christophe de Carvalho <christophe@archipelo.co>
1 parent 5bde39e commit a7bb2a5

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Chainloop is an open source software supply chain control plane, a
44

55
type: application
66
# Bump the patch (not minor, not major) version on each change in the Chart Source code
7-
version: 1.10.1
7+
version: 1.10.2
88
# Do not update appVersion, this is handled automatically by the release process
99
appVersion: v0.15.0
1010

deployment/chainloop/templates/controlplane/service_http.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ include "chainloop.controlplane.fullname" . }}
5-
labels: {{- include "chainloop.controlplane.labels" . | nindent 4 }}
5+
labels:
6+
{{- include "chainloop.controlplane.labels" . | nindent 4 }}
7+
{{- with .Values.controlplane.service.annotations }}
8+
annotations:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
611
spec:
712
type: {{ .Values.controlplane.service.type }}
813
ports:

deployment/chainloop/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ controlplane:
175175
## @extra controlplane.service.nodePorts.http Node port for HTTP. NOTE: choose port between <30000-32767>
176176
# nodePorts:
177177
# http: "30800"
178+
annotations: {}
179+
## @skip controlplane.service.annotations
178180

179181
serviceAPI:
180182
## @param controlplane.serviceAPI.type Service type

0 commit comments

Comments
 (0)