Skip to content

fix: a simple runtime application ends up being out-of-sync#1049

Merged
ATGardner merged 1 commit into
mainfrom
CR-33659-fix-redis-server-value
Jan 19, 2026
Merged

fix: a simple runtime application ends up being out-of-sync#1049
ATGardner merged 1 commit into
mainfrom
CR-33659-fix-redis-server-value

Conversation

@ATGardner
Copy link
Copy Markdown
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
@ATGardner
Copy link
Copy Markdown
Contributor Author

/e2e

@ATGardner ATGardner merged commit 7a2b1e2 into main Jan 19, 2026
5 checks passed
@ATGardner ATGardner deleted the CR-33659-fix-redis-server-value branch January 19, 2026 09:50
ATGardner added a commit that referenced this pull request Jan 19, 2026
based on #1049

fix: a simple runtime application ends up being out-of-sync

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.
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