Skip to content

Commit

Permalink
14596 Allow specifying annotations of clusterCollector.service via va…
Browse files Browse the repository at this point in the history
…lues.yaml

closes: #16

CMK-12769

Change-Id: I2e32dff9c50fd5b4fa140e57b6a34f4758b8080a
  • Loading branch information
oliverboehme-ida authored and SoloJacobs committed Mar 21, 2023
1 parent 3c0727e commit 7c72476
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .werks/14596
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Title: Allow specifying annotations of clusterCollector.service via values.yaml
Class: feature
Compatible: compat
Component: helm
Date: 1679329852
Edition: cre
Knowledge: undoc
Level: 1
State: unknown
Version: 1.2.1

6 changes: 5 additions & 1 deletion deploy/charts/checkmk/templates/cluster-collector-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
labels:
{{- include "checkmk.labels" . | nindent 4 }}
app: {{ include "checkmk.fullname" . }}-cluster-collector
{{- with .Values.clusterCollector.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.clusterCollector.service.type }}
ports:
Expand All @@ -19,4 +23,4 @@ spec:
protocol: TCP
selector:
{{- include "checkmk.selectorLabels" . | nindent 4 }}
app: {{ include "checkmk.fullname" . }}-cluster-collector
app: {{ include "checkmk.fullname" . }}-cluster-collector
3 changes: 2 additions & 1 deletion deploy/charts/checkmk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kubeVersionOverride: ""

tlsCommunication:
enabled: false
verifySsl: false
verifySsl: false
# clusterCollectorKey: |-
# -----BEGIN EC PRIVATE KEY-----
# XYZ
Expand Down Expand Up @@ -109,6 +109,7 @@ clusterCollector:
type: ClusterIP
port: 8080
# nodePort: 30035
annotations: {}

ingress:
enabled: false
Expand Down

0 comments on commit 7c72476

Please sign in to comment.