feat(sdk): conductor-sdk RECON phase 1 -- preflight, CapacityAudit, QuorumHeadroom, RBAC requirements#1
Merged
Merged
Conversation
…ments Adds PodRestartCapability, ResourcePatchCapability, ForceVolumeDetachCapability, CredentialRefreshCapability constants and CapabilityRBACRequirements struct with per-capability RBAC declarations. Includes generated remediation-rbac.md and unit tests (T-CW-26 through T-CW-30).
Adds machineconfig-sync capability constant for the MachineConfigSync CR conductor exec handler. Injects the ont.platform.dev/controlled node label to mark nodes as ONT-governed after applying the source-of-truth machineconfig.
…acityAudit function RECON-J1: new PreflightCheck interface in runnerlib/preflight.go - PreflightParams, PreflightResult, PreflightBlocker, PreflightWarning types - PreflightResult.Passed() helper; 7 unit tests covering all code paths - CapabilityEntry gains optional Preflight PreflightCheck field (json:"-", Go-only) RECON-J5: new CapacityAudit function in runnerlib/capacity_audit.go - Statically evaluates raw Talos machineconfig YAML for K_eff reduction sources - Warning codes: MachineConfigSyntax (blocker), LabelOwnershipConflict, TaintKeyCollision, KubeletArgDeprecated, ExtensionIncompatible (blocker when catalogue provided) - LabelOwnershipConflict is non-blocking at static layer; RECON-J4 live check makes it a PreflightBlocker when confirmed via Kubernetes managedFields API - 10 unit tests covering all warning codes, skip conditions, and edge cases - Direct dependency on go.yaml.in/yaml/v2 (was indirect)
…5 quorum coordination
node-reenrollment re-applies stored machineconfig to a node that has been reset to Talos maintenance mode. Triggered by ClusterNodeHealthLoop when two-phase health classification detects MaintenanceMode. RECON-C10.
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.
Summary
Test plan
go test ./...passes (all 4 test files, all scenarios including blocker paths)