mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
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]>
72 lines
1.9 KiB
YAML
72 lines
1.9 KiB
YAML
apiVersion: apps.hanzo.ai/v1alpha1
|
|
kind: AnalysisRun
|
|
metadata:
|
|
annotations:
|
|
rollout.apps.hanzo.ai/revision: '2'
|
|
creationTimestamp: '2020-11-06T18:39:45Z'
|
|
generation: 4
|
|
labels:
|
|
rollout-type: Step
|
|
rollouts-pod-template-hash: ff68867ff
|
|
step-index: '0'
|
|
name: rollout-canary-ff68867ff-2-0
|
|
namespace: default
|
|
ownerReferences:
|
|
- apiVersion: apps.hanzo.ai/v1alpha1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Rollout
|
|
name: rollout-canary
|
|
uid: 0223237a-0dc1-45f6-881c-fe1873b1771f
|
|
resourceVersion: '1381'
|
|
selfLink: >-
|
|
/apis/apps.hanzo.ai/v1alpha1/namespaces/default/analysisruns/rollout-canary-ff68867ff-2-0
|
|
uid: 863da27d-df03-41d2-a528-cc2f1ec25358
|
|
spec:
|
|
args:
|
|
- name: exit-code
|
|
value: '0'
|
|
- name: duration
|
|
value: 1h
|
|
metrics:
|
|
- name: sleep-job
|
|
provider:
|
|
job:
|
|
metadata:
|
|
creationTimestamp: null
|
|
spec:
|
|
backoffLimit: 0
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- 'sleep {{args.duration}} && exit {{args.exit-code}}'
|
|
command:
|
|
- sh
|
|
- '-c'
|
|
- '-x'
|
|
image: 'nginx:1.19-alpine'
|
|
name: sleep-job
|
|
resources: {}
|
|
restartPolicy: Never
|
|
terminate: true
|
|
status:
|
|
message: run terminated
|
|
metricResults:
|
|
- count: 1
|
|
measurements:
|
|
- finishedAt: '2020-11-06T18:42:58Z'
|
|
message: metric terminated
|
|
metadata:
|
|
job-name: 863da27d-df03-41d2-a528-cc2f1ec25358.sleep-job.1
|
|
phase: Successful
|
|
startedAt: '2020-11-06T18:39:45Z'
|
|
message: metric terminated
|
|
name: sleep-job
|
|
phase: Successful
|
|
successful: 1
|
|
phase: Successful
|
|
startedAt: '2020-11-06T18:39:45Z'
|