From 60fdfd90e1b1e6b27aaf0c9847585fcb33daed7f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 12 Oct 2025 12:25:24 +0200 Subject: [PATCH] test(configMap): gitConfig --- unittests/configMaps/gitConfig.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/unittests/configMaps/gitConfig.yaml b/unittests/configMaps/gitConfig.yaml index d4144f8..6265901 100644 --- a/unittests/configMaps/gitConfig.yaml +++ b/unittests/configMaps/gitConfig.yaml @@ -34,8 +34,15 @@ tests: app.kubernetes.io/name: athens-proxy app.kubernetes.io/version: 0.1.0 helm.sh/chart: athens-proxy-0.1.0 - - isNullOrEmpty: + - equal: path: data[".gitconfig"] + value: | + # The .gitconfig file + # + # The .gitconfig file contains the user specific git configuration. It generally resides in the user's home + # directory. + # + # [url "git@github.com:"] insteadOf = https://github.com/ - it: Rendering custom annotations and labels. set: @@ -65,7 +72,6 @@ tests: [url "git@git.cryptic.systems:"] insteadOf = https://git.cryptic.systems/ - asserts: - equal: path: data[".gitconfig"]