Load OIDC identity types from runtime defaults - #32
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
根因\n\ncattle-global.properties is packaged for installers, but production Java startup loads META-INF/cattle/*/defaults.properties. Engine 0.183.305 fixed schema ordering while leaving the reviewed OIDC identity list outside the runtime-loaded defaults, so the integrated Server schema still omitted oidc_user and oidc_group.\n\n## 修正\n\n- publish the reviewed external identity list from the IAAS API packaged defaults\n- keep startup ordering and stable de-duplicating schema merge\n- make the Spring regression test obtain values through production ConfigConfig.GlobalProperties()\n- gate the runtime-loaded defaults path\n- bump the immutable Engine version to 0.183.306 and document 0.183.305 as superseded for this contract\n\n## 驗證\n\n- TypesConfigTest: 1/1 PASS through the production defaults loader\n- 84-module targeted reactor compile/test chain: PASS\n- dirty source gate: PASS with oidc_external_types=packaged-runtime-defaults-startup-ordered-deduplicated-reviewed-allowlist\n- Server integrated runtime smoke remains the release authority and must verify both v1 and v2-beta schemas before publication.