Skip to content

Commit

Permalink
add subtext and group imports
Browse files Browse the repository at this point in the history
  • Loading branch information
matthagenbuch committed May 20, 2024
1 parent eb3e271 commit 62af5bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .chloggen/matth.versioned_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ issues: [2871]
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
subtext: |
This change introduces a new field in the Collector ConfigMap, `ConfigVersions`, which allows users to specify the number of previous versions of the Collector ConfigMap to keep. The default value is 1, which means that the current and one previous version of the Collector ConfigMap are kept. By keeping historical versions of the configuration, we ensure that during a config upgrade the previous configuration is still available for running (non-upgraded) pods as well as for rollbacks. If we overwrite the original ConfigMap with the new configuration, any pod which restarts for any reason will get the new configuration, which makes rollouts impossible to control.
1 change: 1 addition & 0 deletions internal/manifests/collector/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (

"github.com/open-telemetry/opentelemetry-operator/internal/manifests/manifestutils"
"github.com/open-telemetry/opentelemetry-operator/internal/naming"

"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 62af5bf

Please sign in to comment.