Skip to content

Commit

Permalink
v5.4.4: Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Jul 11, 2022
1 parent 46feef4 commit 85841a1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 7 additions & 7 deletions pkg/client/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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))
}

}

0 comments on commit 85841a1

Please sign in to comment.