Skip to content

Conversation

@ATGardner
Copy link
Contributor

What

make sure the redis.server configMap value is not rendered, if there is no value (instead of being rendered with null)

Refactor redis.server configuration in argo-gateway and event-reporter configmaps to conditionally include the redis server URL only if it exists. Update tests to check for the absence of redis.server instead of its value.

Why

when it is being rendered with null, the cluster drops the key, and argo-cd sees a diff between desired and actual state. the ui shows a wrong diff (with "") due to golang diff code.

Notes

Refactor redis.server configuration in argo-gateway and event-reporter
configmaps to conditionally include the redis server URL only if it exists.
Update tests to check for the absence of redis.server instead of its value.
@ATGardner ATGardner requested a review from a team as a code owner January 15, 2026 19:58
@ATGardner ATGardner self-assigned this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants