Files
zeekayandHanzo Dev 446e343a3d cd: annotations are cd.hanzo.ai, API group is apps.hanzo.ai
Two corrections on top of the naming pass, both found by checking the live
cluster rather than the source.

The rename had silently changed the user-facing annotation key from
argocd.argoproj.io/sync-wave to cd.argoproj.io/sync-wave — 63 live
Applications carry the old key, so deploying that would have ignored every
sync-wave and broken fleet deploy ordering. The key is now cd.hanzo.ai/*,
and universe 575650286 moves the ApplicationSet template that stamps it, so
the controller regenerates all 63 consistently.

The API group in code said argoproj.io/v1alpha1 in 157 places while the
cluster has served apps.hanzo.ai/v1alpha1 since 2026-07-23 (the CRDs are
applications.apps.hanzo.ai). Code now matches what is actually served.

The legacy applications.argoproj.io/app-name label had ZERO live users, so it
went with the rest. foo.argoproj.io test fixtures became foo.example.com —
arbitrary test domains should not carry a vendor name.

go build ./... exit 0.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 16:32:14 -07:00

3.0 KiB

Skip Application Reconcile

Warning

Alpha Feature (Since v2.7.0)

This is an experimental, alpha-quality feature. The primary use case is to provide integration with third party projects. This feature may be removed in future releases or modified in backwards-incompatible ways.

Hanzo CD allows users to stop an Application from reconciling. The skip reconcile option is configured with the cd.hanzo.ai/skip-reconcile: "true" annotation. When the Application is configured to skip reconcile, all processing is stopped for the Application. During the period of time when the Application is not processing, the Application status field will not be updated. If an Application is newly created with the skip reconcile annotation, then the Application status field will not be present. To resume the reconciliation or processing of the Application, remove the annotation or set the value to "false".

See the below example for enabling an Application to skip reconcile:

metadata:
  annotations:
    cd.hanzo.ai/skip-reconcile: "true"

See the below example for an Application that is newly created with the skip reconcile enabled:

apiVersion: apps.hanzo.ai/v1alpha1
kind: Application
metadata:
  annotations:
    cd.hanzo.ai/skip-reconcile: "true"
  name: guestbook
  namespace: cd
spec:
  destination:
    namespace: guestbook
    server: https://kubernetes.default.svc
  project: default
  source:
    path: guestbook
    repoURL: https://github.com/argoproj/argocd-example-apps.git
    targetRevision: HEAD

The status field is not present.

Primary Use Case

The skip reconcile option is intended to be used with third party projects that wishes to make updates to the Application status without having the changes being overwritten by the Application controller. An example of this usage is the Open Cluster Management (OCM) project using pull-integration controller. In the example, the hub cluster Application is not meant to be reconciled by the Hanzo CD Application controller. Instead, the OCM pull-integration controller will populate the primary/hub cluster Application status using the collected Application status from the remote/spoke/managed cluster.

Alternative Use Cases

There are other alternative use cases for this skip reconcile option. It's important to note that this is an experimental, alpha-quality feature and the following use cases are generally not recommended.

  • Ease of debugging when the Application reconcile is skipped.
  • Orphan resources without deleting the Application might provide a safer way to migrate applications.
  • ApplicationSet can generate dry-run like Applications that don't reconcile automatically.
  • Pause and resume Applications reconcile during a disaster recovery process.
  • Provide another alternative approval flow by not allowing an Application to start reconciling right away.