refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [NationTech/Team#186] #278
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/refactorScorePayload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removes the hand-typed ScorePayload struct and its custom schemars
schema function. DeploymentSpec.score is now typed as the strongly
typed ReconcileScore enum already used by the agent, eliminating
duplication and ensuring the CRD schema is derived automatically.
Wire format is unchanged (externally tagged {type, data}), so the
operator -> NATS KV -> agent path remains fully backward compatible.
Removes the hand-typed ScorePayload struct and its custom schemars schema function. DeploymentSpec.score is now typed as the strongly typed ReconcileScore enum already used by the agent, eliminating duplication and ensuring the CRD schema is derived automatically. - Add JsonSchema derive to PodmanService, PodmanV0Score, ReconcileScore - Enable podman feature on harmony dependency in operator - Re-export ReconcileScore/PodmanV0Score/PodmanService from crd module - Update harmony_apply_deployment and fleet_load_test examples - Remove TODO comment from harmony_apply_deployment Wire format is unchanged (externally tagged {type, data}), so the operator -> NATS KV -> agent path remains fully backward compatible.refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [#186]to refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [NationTech/Team#186]4c78919998to95ccc974f9