OpenShift GitOps 1.22 turns environment promotion into declarative pull requests
The Technology Preview pairs Source Hydrator with GitOps Promoter so policy checks and human approvals can govern changes between environments.
Red Hat OpenShift GitOps 1.22 introduces GitOps Promoter and Source Hydrator as Technology Preview features, giving platform teams a declarative alternative to CI jobs that imperatively copy manifests between environments.
The Red Hat engineering walkthrough shows a branch-based flow in which proposed changes, policy gates and the deployed state remain visible in Git.
How the promotion flow works
Teams keep reusable manifests in a DRY branch, typically using Helm or Kustomize. When that branch changes, Argo CD Source Hydrator renders the manifests into preview branches named for each environment, such as dev-next or prod-next.
GitOps Promoter then creates and manages pull requests from those preview branches into the deployed environment branches. A PromotionStrategy custom resource declares the environments in order, their Git repository and whether each pull request can merge automatically.
That separates rendering from promotion. Source Hydrator produces the proposed state, while GitOps Promoter decides when it may become active. The result is a reviewable Git path rather than a CI pipeline that mutates environment branches behind the scenes.
Gates before and after deployment
The preview defines two classes of CommitStatus checks. Proposed statuses run before promotion and can cover manifest validation, linting or image vulnerability checks. Active statuses run only after deployment, including integration tests and Argo CD application health.
Only a proposed status directly blocks its own promotion. Active checks still influence later stages because every environment after the first receives an automatic gate that requires the previous environment to be healthy. This lets a failed development deployment stop a change from advancing to staging even though the health check could not run until after deployment.
Automatic merging is optional per environment. Teams can leave it enabled for development and staging while requiring a person to merge the production pull request, preserving change-control approval without abandoning the declarative flow.
What operators must configure
The Technology Preview is not a one-click feature. Operators must configure credentials for the chosen source-control system, such as a GitHub App, then enable Promoter components in the Argo CD custom resource. Red Hat also notes that the operator does not yet create required certificates automatically; the walkthrough uses an OpenShift service annotation to provision the serving certificate.
The Argo CD UI extension displays the proposed commit, health state and recent promotion history across environments. That visibility is useful, but teams evaluating the preview should focus first on the policy model: which checks are proposed or active, where human approval is mandatory, and which repository permissions the promoter receives.
The design makes promotion logic a cluster API and Git workflow rather than bespoke CI code. Its Technology Preview status means teams should validate the certificate, credential and recovery paths before relying on it for production delivery.
sources
- GitOps Promoter: Declare, deploy, deliverdevelopers.redhat.com
comments · 0