fix: update API groups in webhook configs and tests post-migration#21
Merged
Conversation
… seam-core Adds replace directive for github.com/ontai-dev/platform. Updates cluster_rbacpolicy_controller to use platformseamv1alpha1.TalosCluster from platform/api/seam/v1alpha1. Registers platform scheme in main.go. All unit tests updated to use the platform types.
Replace seam-core -> seam in go.mod replace/require. Update all Go import paths from github.com/ontai-dev/seam-core/ to github.com/ontai-dev/seam/. Add seam-sdk replace + require.
Replace ../seam-core with ../seam following the seam-core -> seam filesystem rename. Module path github.com/ontai-dev/seam was already updated in Phase 4; this aligns the local path pointer.
… Guardian singleton - Remove Guardian singleton CRD and types (Guardian, GuardianSpec, GuardianStatus, GuardianList) - Remove setCNPGCondition and simplify RunWithRetry to 2-arg form (no kube client) - Remove Scheme/Recorder/OperatorNamespace from BootstrapController; replace Guardian CR condition writes with in-memory WebhookModeGate and NamespaceEnforcementRegistry - Fix one-way ratchet: return early after Initialising->ObserveOnly transition so Enforcing check only runs in the next reconcile - Rename 7 CRD YAML files from security.ontai.dev_*.yaml to guardian.ontai.dev_*.yaml - Update groupversion_info.go: group annotation and GroupVersion.Group to guardian.ontai.dev - Update all finalizer constants, kubebuilder markers, GVR/GVK Group fields, apiVersion strings in unstructured objects across all guardian packages
Fresh documentation from current codebase. security.ontai.dev replaced with guardian.ontai.dev throughout. Guardian singleton CR removed -- Deployment readiness is the health signal. security-system namespace removed. seam-core references replaced with seam. wrapper replaced with dispatcher. LineageRecord and SeamMembership removed from guardian CRD table (owned by seam).
…gs and tests; fix runner.ontai.dev -> seam.ontai.dev in epg_controller; add seam-sdk/platform checkouts to CI
50f4904 to
94d82c4
Compare
…ions; drop unused metav1 import
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