fix(kubernetes): add explanatory comments for non-obvious template values

Signed-off-by: Arsolitt <arsolitt@gmail.com>
This commit is contained in:
Arsolitt 2026-04-22 16:44:48 +03:00
parent e1ab6f6274
commit fe6ef58b0a
No known key found for this signature in database
GPG key ID: 4D8302CE6A9247C4

View file

@ -24,6 +24,7 @@ spec:
- metadata:
name: disk-kubelet
annotations:
{{/* Populator creates intermediate PVC + PV rebind that causes ClaimMisbound with LINSTOR CSI */}}
cdi.kubevirt.io/storage.usePopulator: "false"
spec:
source:
@ -86,6 +87,7 @@ spec:
guest: {{ .group.resources.memory }}
{{- end }}
resources:
{{/* 2Gi is enough: persistent DataVolumes are not counted as pod ephemeral storage */}}
{{- include "cozy-lib.resources.sanitize" (list (dict "ephemeral-storage" "2Gi") $) | nindent 14 }}
evictionStrategy: External
volumes: