v5.4.4: Changelog

pull/1103/head v5.4.4
iwilltry42 2 years ago
parent 46feef48ba
commit 85841a1b16
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 17
      CHANGELOG.md
  2. 14
      pkg/client/registry_test.go

@ -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

@ -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))
}
}

Loading…
Cancel
Save