diff --git a/.changelog/3618.fixed.txt b/.changelog/3618.fixed.txt deleted file mode 100644 index e16aac4efe..0000000000 --- a/.changelog/3618.fixed.txt +++ /dev/null @@ -1 +0,0 @@ -fix(metrics): use namespaceSelector from configuration for additionalServiceMonitors \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d9948e874c..80ba5579bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +## [v4.6.1] + +### Released 2024-03-29 + +### Fixed + +- fix(metrics): use namespaceSelector from configuration for additionalServiceMonitors [#3618] + +[#3618]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/3618 +[v4.6.1]: https://github.com/SumoLogic/sumologic-kubernetes-collection/releases/v4.6.1 + ## [v4.6.0] ### Released 2024-03-27 diff --git a/deploy/README.md b/deploy/README.md index 45ef0cbbff..75a2ea948d 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -1,3 +1,3 @@ -# Deployment Guide for unreleased version +# Deployment Guide for v4.6 Moved to [/docs/README.md](/docs/README.md) diff --git a/deploy/helm/sumologic/Chart.yaml b/deploy/helm/sumologic/Chart.yaml index af59b7788c..f8c6abb62e 100644 --- a/deploy/helm/sumologic/Chart.yaml +++ b/deploy/helm/sumologic/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: sumologic -version: 4.6.0 -appVersion: 4.6.0 +version: 4.6.1 +appVersion: 4.6.1 description: A Helm chart for collecting Kubernetes logs, metrics, traces and events into Sumo Logic. type: application keywords: diff --git a/docs/README.md b/docs/README.md index 0414aae06c..b73fbba50c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,10 +1,10 @@ -# Deployment Guide for 4.6 +# Deployment Guide for v4.6 This page has instructions for collecting Kubernetes logs, metrics, and events; enriching them with deployment, pod, and service level metadata; and sending them to Sumo Logic. See our [documentation guide](https://help.sumologic.com/docs/observability/kubernetes/) for details on our Kubernetes Solution. -- [Deployment Guide for unreleased version](#deployment-guide-for-unreleased-version) +- [Deployment Guide for v4.6](#deployment-guide-for-v46) - [Solution overview](#solution-overview) - [Log Collection](#log-collection) - [Metrics Collection](#metrics-collection) diff --git a/tests/helm/goldenfile_test.go b/tests/helm/goldenfile_test.go index 1a285500ee..8a83755a63 100644 --- a/tests/helm/goldenfile_test.go +++ b/tests/helm/goldenfile_test.go @@ -132,10 +132,10 @@ func runGoldenFileTest(t *testing.T, valuesFileName string, outputFileName strin // expected templates func fixupRenderedYaml(yaml string, chartVersion string) string { checksumRegex := regexp.MustCompile("checksum/config: [a-z0-9]{64}") - chartsRegex := regexp.MustCompile("([^kubernetes-setup:])" + chartVersion) + output := yaml output = strings.ReplaceAll(output, releaseName, "RELEASE-NAME") - output = chartsRegex.ReplaceAllString(output, "$1%CURRENT_CHART_VERSION%") + output = strings.ReplaceAll(output, chartVersion, "%CURRENT_CHART_VERSION%") output = checksumRegex.ReplaceAllLiteralString(output, "checksum/config: '%CONFIG_CHECKSUM%'") output = strings.TrimSuffix(output, "\n") return output