Skip to content

Conversation

@jmcguire98
Copy link
Contributor

@jmcguire98 jmcguire98 commented Apr 3, 2025

Description

This updates SetClusterName and GetClusterName to use the generateName field per https://github.com/solo-io/gloo-mesh-enterprise/issues/16342, with GetClusterName maintaining the ability to fallback to annotations or deprecated field names for tooling and testing purposes.

Context

see https://github.com/solo-io/gloo-mesh-enterprise/issues/16342 or https://solo-io-corp.slack.com/archives/C08BL9Z080H for broader discussion

@jmcguire98 jmcguire98 marked this pull request as ready for review April 4, 2025 15:23
@jmcguire98 jmcguire98 changed the title Cluster name data race fix Update SetClusterName and GetClusterName to use generateName instead of annotations Apr 4, 2025
@solo-changelog-bot
Copy link

@solo-io solo-io deleted a comment from solo-changelog-bot bot Apr 7, 2025
marcogschmidt
marcogschmidt previously approved these changes Apr 7, 2025
@soloio-bulldozer soloio-bulldozer bot merged commit e721749 into main Apr 8, 2025
3 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the jmcguire/cluster-name-data-race-fix branch April 8, 2025 12:11
jmcguire98 added a commit that referenced this pull request Apr 22, 2025
…of annotations (#593)

* add backwards compatibility in skv2

* add changelog

* update skv2 to not fallback to annotations

* try backwards compatibility fallback on gets, but not sets

* clean up skv2 unit tests

* fix changelog

* fix issuelink

* address nit
soloio-bulldozer bot pushed a commit that referenced this pull request Apr 22, 2025
….x (#596)

* Update SetClusterName and GetClusterName to use generateName instead of annotations (#593)

* add backwards compatibility in skv2

* add changelog

* update skv2 to not fallback to annotations

* try backwards compatibility fallback on gets, but not sets

* clean up skv2 unit tests

* fix changelog

* fix issuelink

* address nit

* move changelog

* move changelog into 0.36.7 since it was not cut yet

* Revert "move changelog into 0.36.7 since it was not cut yet"

This reverts commit 341c6c2.

* Minify Helm chart values JSON schema (#595)

* Don't prettify chart values JSON schema

* Changelog

* Make linter happy

Remove unused functions
Add default switch clause

* Move changelog

* Codegen

* Update unit tests assertions

* Tests: use `json.Compact` to minify

* Un-focus test

* Remove unused function
# Conflicts:
#	codegen/test/chart/values.schema.json

* move minify helm changelog

* merge changelog files

* fix codegen
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.

4 participants