From 85841a1b1640cf3548372d2e4730c564365f6bac Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Mon, 11 Jul 2022 12:05:57 +0200 Subject: [PATCH] v5.4.4: Changelog --- CHANGELOG.md | 17 +++++++++++++++++ pkg/client/registry_test.go | 14 +++++++------- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5954103e..2346a2c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## v5.4.4 - 11.07.2022 + +### Added + +- Docs: Clarification of Network Policies in K3s (#1081) + +### Changed + +- Sponsorship information and updated issue templates +- Switch to `sigs.k8s.io/yaml` everywhere in the project to allow for consistent json/yaml output (#1094) + +### Fixed + +- Support running k3d with podman in rootless mode using cgroups v2 (#1084) +- `k3d config init` used the legacy config format (#1091) +- Properly handle image prefix "docker.io", etc during image import (#1096) + ## v5.4.3 - 07.06.2022 ### Added diff --git a/pkg/client/registry_test.go b/pkg/client/registry_test.go index 56f23d86..fc8c3a77 100644 --- a/pkg/client/registry_test.go +++ b/pkg/client/registry_test.go @@ -35,17 +35,17 @@ func TestRegistryGenerateLocalRegistryHostingConfigMapYAML(t *testing.T) { var err error expectedYAMLString := `apiVersion: v1 -kind: ConfigMap -metadata: - name: local-registry-hosting - namespace: kube-public data: localRegistryHosting.v1: | + help: https://k3d.io/usage/guides/registries/#using-a-local-registry host: test-host:5432 hostFromClusterNetwork: test-host:1234 hostFromContainerRuntime: test-host:1234 - help: https://k3d.io/usage/guides/registries/#using-a-local-registry -` +kind: ConfigMap +metadata: + name: local-registry-hosting + namespace: kube-public + ` reg := &k3d.Registry{ Host: "test-host", @@ -62,7 +62,7 @@ data: } if !(strings.TrimSpace(string(cm)) == strings.TrimSpace(expectedYAMLString)) { - t.Errorf("Computed configmap\n-> Actual: %s\n does not match expected YAML\n-> Expected: %s", strings.TrimSpace(string(cm)), strings.TrimSpace(expectedYAMLString)) + t.Errorf("Computed configmap\n-> Actual:\n%s\n does not match expected YAML\n-> Expected:\n%s", strings.TrimSpace(string(cm)), strings.TrimSpace(expectedYAMLString)) } }