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

42 lines
1.4 KiB
YAML

apiVersion: k8s.mariadb.com/v1alpha1
kind: Backup
metadata:
annotations:
cd.hanzo.ai/tracking-id: apps-bridge-demo-de1:k8s.mariadb.com/Backup:bridge/backup-local-bridge
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"k8s.mariadb.com/v1alpha1","kind":"Backup","metadata":{"annotations":{"cd.hanzo.ai/tracking-id":"apps-bridge-demo-de1:k8s.mariadb.com/Backup:bridge/backup-local-bridge"},"name":"backup-local-bridge","namespace":"bridge"},"spec":{"args":["--databases bridge"],"mariaDbRef":{"name":"mariadb"},"maxRetention":"168h","schedule":{"cron":"0 1-23/2 * * *","suspend":false},"storage":{"persistentVolumeClaim":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"80Gi"}}}}}}
creationTimestamp: "2024-04-12T12:35:41Z"
generation: 2
name: backup-local-bridge
namespace: bridge
resourceVersion: "506591405"
uid: 67364d0a-6da9-4369-97fd-45ea468dbbea
spec:
args:
- --databases bridge
backoffLimit: 5
logLevel: info
mariaDbRef:
name: mariadb
waitForIt: true
maxRetention: 168h
restartPolicy: OnFailure
schedule:
cron: 0 1-23/2 * * *
suspend: false
serviceAccountName: backup-local-bridge
storage:
persistentVolumeClaim:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 80Gi
status:
conditions:
- lastTransitionTime: "2024-04-24T15:00:23Z"
message: Success
reason: CronJobSucess
status: "True"
type: Complete