How seokpan/seokpan-hybrid-gitops works
This repository is a GitOps source-of-truth for app and platform declarations targeting ROSA OpenShift and a separate on-premises Recovery environment. The principal workflow is to prepare environment-specific manifests, validate source inputs and ownership boundaries, then have a GitOps controller consume reviewed declarations; these tools do not deploy or prove runtime readiness. Separate branches cover lab Valkey preflight, cloud platform candidates, OCP registration, migration review, and offline Recovery bundle inventory. Some deployment relationships are documented in the README; unsampled manifest wiring is not inferred.
Main entry points: render_release.py Release render gate · base Common app base · check_recovery_bundle.py Bundle inventory check · lab Lab overlay
Components 16
Application declarations
- Common app base
apps/base - Lab overlay
apps/overlays/lab - Cloud overlay
apps/overlays/cloud - Recovery overlay
apps/overlays/recovery
GitOps control
- OCP lab registration
clusters/ocp-lab - Cloud platform contract
tools/cloud_platform_contract.py
Source validation
- Release render gate
tools/render_release.py - Valkey preflight
tools/preflight_lab_valkey.py - Registration checker
tools/check_ocp_lab_registration.py - Migration review
tools/check_migration_manifest.py
Recovery preparation
- Bundle inventory check
tools/check_recovery_bundle.py - Migration Job declaration
operations/ocp-lab/migration/job.yaml - Offline Recovery bundle
Other components
- Engineer / operator
- GitOps controller
- Target cluster
Connections 22
- Engineer / operator → Common app base: defines
README.md - Common app base → Lab overlay: configures
README.md - Common app base → Cloud overlay: configures
README.md - Common app base → Recovery overlay: configures
README.md - Engineer / operator → Release render gate: renders and checks
tools/render_release.py - Release render gate → Lab overlay: validates inputs
- Release render gate → Cloud overlay: validates inputs
- Release render gate → Recovery overlay: validates inputs
- Engineer / operator → Valkey preflight: preflights
tools/preflight_lab_valkey.py - Engineer / operator → Registration checker: checks declaration
tools/check_ocp_lab_registration.py - Registration checker → OCP lab registration: compares manifest
- Engineer / operator → Cloud platform contract: validates contract
tools/cloud_platform_contract.py - Cloud platform contract → Cloud overlay: selects source path
tools/cloud_platform_contract.py - Engineer / operator → GitOps controller: requests sync
README.md - GitOps controller → Lab overlay: consumes declaration
- Engineer / operator → Migration review: reviews manifests
tools/check_migration_manifest.py - Migration review → Migration Job declaration: checks Job
- Engineer / operator → Offline Recovery bundle: provides artifacts
- Bundle inventory check → Offline Recovery bundle: checks hashes and manifests
tools/check_recovery_bundle.py - Engineer / operator → Bundle inventory check: runs offline check
tools/check_recovery_bundle.py - Bundle inventory check → Release render gate: uses manifest blockers
tools/check_recovery_bundle.py - GitOps controller → Target cluster: syncs declarations