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

70 lines
1.6 KiB
YAML

apiVersion: apps.hanzo.ai/v1alpha1
kind: Rollout
metadata:
name: canary-demo
namespace: default
spec:
replicas: 5
revisionHistoryLimit: 3
selector:
matchLabels:
app: canary-demo
strategy:
canary:
analysis:
name: analysis
templateName: analysis-template
canaryService: canary-demo-preview
steps:
- setWeight: 40
- pause: {}
- setWeight: 60
- pause: {}
- setWeight: 80
- pause:
duration: 10
template:
metadata:
creationTimestamp: null
labels:
app: canary-demo
spec:
containers:
- image: argoproj/rollouts-demo:yellow
imagePullPolicy: Always
name: canary-demo
ports:
- containerPort: 8080
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 32Mi
status:
HPAReplicas: 5
abort: true
availableReplicas: 5
blueGreen: {}
canary:
stableRS: 645d5dbc4c
conditions:
- lastTransitionTime: "2019-11-03T01:32:46Z"
lastUpdateTime: "2019-11-03T01:32:46Z"
message: Rollout has minimum availability
reason: AvailableReason
status: "True"
type: Available
- lastTransitionTime: "2019-11-05T18:20:12Z"
lastUpdateTime: "2019-11-05T18:20:12Z"
message: Rollout is aborted
reason: RolloutAborted
status: "False"
type: Progressing
currentPodHash: 6758949f55
currentStepHash: 59f8666948
currentStepIndex: 0
observedGeneration: 58b949649c
readyReplicas: 5
replicas: 5
selector: app=canary-demo