Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spec:
{{- include "checkmk.selectorLabels" . | nindent 8 }}
component: {{ include "checkmk.fullname" . }}-node-collector
app: {{ include "checkmk.fullname" . }}-node-collector-container-metrics
{{- if .Values.gkeAutopilot.enabled }}
cloud.google.com/matching-allowlist: checkmk-node-collector-container-metrics
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
7 changes: 7 additions & 0 deletions deploy/charts/checkmk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ kubeVersionOverride: ""
## If you are using one of them, or containerd is located in an alternate location, please uncomment / adapt the override.
#containerdOverride: "/run/k3s/containerd/containerd.sock"

## GKE Autopilot only allows privilegded workloads, if they are allowlisted.
## Requirement: Please first deploy the allowlist-synchronizer CRD [https://github.com/checkmk/checkmk_kube_agent/tree/main/deploy/manifests/gke-allowlist/cmk-allowlist-synchronizer.yaml]
## More info: https://cloud.google.com/kubernetes-engine/docs/how-to/run-autopilot-partner-workloads
## To deploy in GKE Autopilot, please set to true.
gkeAutopilot:
enabled: false

tlsCommunication:
enabled: false
verifySsl: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: auto.gke.io/v1
kind: AllowlistSynchronizer
metadata:
name: checkmk-allowlist-synchronizer
spec:
allowlistPaths:
- "Checkmk/checkmk_kube_agent/v1.0.0/*"
- "Checkmk/checkmk_kube_agent/v1.1.0/*"