Skip to content

Commit

Permalink
chore: prepare 4.6.1 release (#3623)
Browse files Browse the repository at this point in the history
* chore: prepare 4.6.1 release

* fix(test): get rid of unsafe regular expression for chart version replacing
  • Loading branch information
kkujawa-sumo committed Mar 29, 2024
1 parent 2bc54db commit 511b6c8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
1 change: 0 additions & 1 deletion .changelog/3618.fixed.txt

This file was deleted.

11 changes: 11 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

<!-- towncrier release notes start -->

## [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
Expand Down
2 changes: 1 addition & 1 deletion 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)
4 changes: 2 additions & 2 deletions 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:
Expand Down
4 changes: 2 additions & 2 deletions 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)
Expand Down
4 changes: 2 additions & 2 deletions tests/helm/goldenfile_test.go
Expand Up @@ -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
Expand Down

0 comments on commit 511b6c8

Please sign in to comment.