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

98 lines
2.4 KiB
YAML

apiVersion: apps.hanzo.ai/v1alpha1
kind: Rollout
metadata:
annotations:
rollout.apps.hanzo.ai/revision: '2'
creationTimestamp: '2021-06-30T04:40:44Z'
generation: 5
labels:
app.kubernetes.io/instance: rollouts-demo
name: rollouts-demo
namespace: rollouts-demo
resourceVersion: '4838641'
uid: bf946046-d90e-49b9-863c-76f82bed3b31
spec:
replicas: 5
revisionHistoryLimit: 1
selector:
matchLabels:
app: rollouts-demo
strategy:
canary:
canaryService: rollouts-demo-desired
stableService: rollouts-demo-stable
steps:
- setWeight: 21
- pause: {}
- setWeight: 40
- pause:
duration: 10
- setWeight: 60
- pause:
duration: 10
- setWeight: 80
- pause:
duration: 10
template:
metadata:
labels:
app: rollouts-demo
spec:
containers:
- image: 'argoproj/rollouts-demo:yellow'
imagePullPolicy: Always
name: rollouts-demo
ports:
- containerPort: 8080
name: http
protocol: TCP
resources:
requests:
cpu: 5m
memory: 32Mi
status:
HPAReplicas: 6
availableReplicas: 6
blueGreen: {}
canary: {}
conditions:
- lastTransitionTime: '2021-06-30T05:01:22Z'
lastUpdateTime: '2021-06-30T05:01:22Z'
message: RolloutCompleted
reason: RolloutCompleted
status: 'False'
type: Completed
- lastTransitionTime: '2021-06-30T05:01:27Z'
lastUpdateTime: '2021-06-30T05:01:27Z'
message: Rollout has minimum availability
reason: AvailableReason
status: 'True'
type: Available
- lastTransitionTime: '2021-07-15T21:08:55Z'
lastUpdateTime: '2021-07-15T21:08:55Z'
message: Rollout is paused
reason: RolloutPaused
status: Unknown
type: Progressing
- lastTransitionTime: '2021-07-15T21:08:55Z'
lastUpdateTime: '2021-07-15T21:08:55Z'
message: Rollout is paused
reason: RolloutPaused
status: 'True'
type: Paused
controllerPause: true
currentPodHash: 8566c77b97
currentStepHash: 7d5979db69
currentStepIndex: 1
message: CanaryPauseStep
observedGeneration: '5'
pauseConditions:
- reason: CanaryPauseStep
startTime: '2021-07-15T21:08:55Z'
phase: Paused
readyReplicas: 6
replicas: 6
selector: app=rollouts-demo
stableRS: 77f4f8ff97
updatedReplicas: 2