From 955e41b6e36c5378d33d75111e96f07c38efef0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Goinvic?= Date: Wed, 22 Oct 2025 17:49:18 +0200 Subject: [PATCH] fix comments around ConfigMapConsumer --- tests/manifests/test_configs_consistency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/manifests/test_configs_consistency.py b/tests/manifests/test_configs_consistency.py index 17a896b0..40671008 100644 --- a/tests/manifests/test_configs_consistency.py +++ b/tests/manifests/test_configs_consistency.py @@ -557,10 +557,10 @@ class ValidatedContainerConfig(ValidatedConfig): # Parse config map content configmap = get_configmap(templates, current_volume["configMap"]["name"]) assert_exists_according_to_hook_weight(configmap, weight, validated_config.name) - # We do not consume ConfigMaps in render-config, their configuration - # will actually be consumed later by the container using the rendered-config current_source_of_mount = MountedConfigMap.from_template(configmap, volume_mount) if not is_matrix_tools_command(container_spec, "render-config"): + # We only consume ConfigMaps in render-config + # We do not need a SecretPathConsumer as we do not have configuration stored in secrets validated_config.paths_consumers.append(ConfigMapPathConsumer.from_configmap(configmap)) elif "emptyDir" in current_volume: # An empty dir can be mounted multiple times on a container if using subPath