From 64df60873aa676ed98b82f2cc40bdcc66ca23484 Mon Sep 17 00:00:00 2001 From: Konstantin Khlebnikov Date: Fri, 2 Aug 2024 10:12:09 +0200 Subject: [PATCH] Fix empty volumes array in sample config YAML "volumes:" parsed as "volumes: null" instead "volumes: []". This breaks server-side apply: The Ytsaurus "ytsaurus" is invalid: spec.execNodes[0].volumes: Invalid value: "null": spec.execNodes[0].volumes in body must be of type array: "null" --- config/samples/cluster_v1_cri.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/samples/cluster_v1_cri.yaml b/config/samples/cluster_v1_cri.yaml index 28bbdc72..d25fa079 100644 --- a/config/samples/cluster_v1_cri.yaml +++ b/config/samples/cluster_v1_cri.yaml @@ -284,11 +284,11 @@ spec: # mountPath: /config/registry # readOnly: true - volumes: - # - name: config-registry - # hostPath: - # path: /etc/containerd/certs.d - # type: Directory + # volumes: + # - name: config-registry + # hostPath: + # path: /etc/containerd/certs.d + # type: Directory volumeClaimTemplates: - metadata: