Files
deploy/controller/testdata/diff-cache.yaml
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

499 lines
14 KiB
YAML

apiVersion: apps.hanzo.ai/v1alpha1
kind: Application
metadata:
annotations:
cd-image-updater.apps.hanzo.ai/allow-tags: any
cd-image-updater.apps.hanzo.ai/ignore-tags: ""
cd-image-updater.apps.hanzo.ai/image-list-disabled-hack: ""
cd-image-updater.apps.hanzo.ai/update-strategy: semver
cd-image-updater.apps.hanzo.ai/write-back-method: git
cd-image-updater.apps.hanzo.ai/write-back-target: kustomization
cd-notif-onDeployed.slack-disabled: ""
cd-notif-onHealthDegraded.slack-disabled: ""
cd-notif-onSyncFailed.slack-disabled: ""
cd-notif-onSyncRunning.slack-disabled: ""
cd-notif-onSyncStatusUnknown.slack-disabled: ""
cd-notif-onSyncSucceeded.slack-disabled: ""
cd.hanzo.ai/compare-options: ServerSideDiff=true
cd.hanzo.ai/manifest-generate-paths: .;/chart
creationTimestamp: "2024-03-04T21:30:33Z"
finalizers:
- resources-finalizer.cd.hanzo.ai
generation: 263
labels:
cloud_provider: gcp
cluster_name: gke-alpha-01-europe-west1
foo: bar
preview: "true"
project: sre
service_class: alpha
stack: gke-v2
name: velero-test
namespace: argo-cd
ownerReferences:
- apiVersion: apps.hanzo.ai/v1alpha1
blockOwnerDeletion: true
controller: true
kind: ApplicationSet
name: velero
uid: 86cdfba4-8697-47b3-8489-71fab7f4a805
resourceVersion: "722811357"
uid: 94978696-4fd4-40b3-a1de-38d9df9e9316
spec:
destination:
name: gke-alpha-01-europe-west1
namespace: test-lla
project: sre
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
syncPolicy:
retry:
backoff:
duration: 5s
factor: 2
maxDuration: 3m
limit: 10
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- RespectIgnoreDifferences=false
- ServerSideApply=true
- Validate=true
status:
controllerNamespace: argo-cd
health:
status: Healthy
history:
- deployStartedAt: "2024-03-04T22:00:05Z"
deployedAt: "2024-03-04T22:00:06Z"
id: 14
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-04T22:08:29Z"
deployedAt: "2024-03-04T22:08:30Z"
id: 15
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-04T22:09:16Z"
deployedAt: "2024-03-04T22:09:16Z"
id: 16
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-04T22:11:41Z"
deployedAt: "2024-03-04T22:11:41Z"
id: 17
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-04T22:50:55Z"
deployedAt: "2024-03-04T22:50:55Z"
id: 18
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-04T22:52:56Z"
deployedAt: "2024-03-04T22:52:56Z"
id: 19
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-04T22:56:15Z"
deployedAt: "2024-03-04T22:56:15Z"
id: 20
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-05T07:31:56Z"
deployedAt: "2024-03-05T07:31:57Z"
id: 21
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-05T07:32:44Z"
deployedAt: "2024-03-05T07:32:44Z"
id: 22
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
- deployStartedAt: "2024-03-05T07:33:03Z"
deployedAt: "2024-03-05T07:33:04Z"
id: 23
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
operationState:
finishedAt: "2024-03-05T07:33:04Z"
message: successfully synced (all tasks run)
operation:
initiatedBy:
username: [email protected]
retry:
backoff:
duration: 5s
factor: 2
maxDuration: 3m
limit: 10
sync:
revision: ea8759964626a583667a2bfd08f334ec2070040a
syncOptions:
- ServerSideApply=true
syncStrategy:
hook: {}
phase: Succeeded
startedAt: "2024-03-05T07:33:03Z"
syncResult:
resources:
- group: ""
hookPhase: Running
kind: Service
message: service/test-lla serverside-applied
name: test-lla
namespace: test-lla
status: Synced
syncPhase: Sync
version: v1
- group: apps
hookPhase: Running
kind: Deployment
message: deployment.apps/test-lla serverside-applied
name: test-lla
namespace: test-lla
status: Synced
syncPhase: Sync
version: v1
revision: ea8759964626a583667a2bfd08f334ec2070040a
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
reconciledAt: "2024-03-05T07:33:04Z"
resources:
- health:
status: Healthy
kind: Service
name: test-lla
namespace: test-lla
status: Synced
version: v1
- group: apps
health:
status: Healthy
kind: Deployment
name: test-lla
namespace: test-lla
status: Synced
version: v1
sourceType: Plugin
summary:
images:
- nginx:latest
sync:
comparedTo:
destination:
name: gke-alpha-01-europe-west1
namespace: test-lla
source:
path: instances/test
plugin:
env:
- name: RELEASE_NAME
value: test-lla
- name: CHART_REPOSITORY
value: oci://europe-west1-docker.pkg.dev/foo/charts
- name: CHART_NAME
value: velero
- name: PREVIEW
value: "false"
- name: HELM_VALUES
value: |
global:
app:
cluster_name: gke-alpha-01-europe-west1
service_class: alpha
cloud_provider: gcp
cluster_stack: gke-v2
- name: HELM_ARGS
value: ""
name: cmp-helm-v2
repoURL: https://github.com/foo/manifests-velero.git
targetRevision: test-lla
revision: rev1
status: Synced