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

84 lines
2.4 KiB
YAML

apiVersion: v1
kind: Service
metadata:
annotations:
cd.hanzo.ai/sync-options: ServerSideApply=true
kubectl.kubernetes.io/last-applied-configuration: >
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"cd.hanzo.ai/sync-options":"ServerSideApply=true"},"name":"multiple-protocol-port-svc","namespace":"default"},"spec":{"ports":[{"name":"rtmpk","port":1986,"protocol":"UDP","targetPort":1986},{"name":"rtmp","port":1935,"targetPort":1935},{"name":"https","port":443,"targetPort":443}]}}
creationTimestamp: '2022-06-24T19:37:02Z'
labels:
app.kubernetes.io/instance: big-crd
managedFields:
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
'f:cd.hanzo.ai/sync-options': {}
'f:labels':
'f:app.kubernetes.io/instance': {}
'f:spec':
'f:ports':
'k:{"port":1935,"protocol":"TCP"}':
.: {}
'f:name': {}
'f:port': {}
'f:targetPort': {}
'k:{"port":1986,"protocol":"UDP"}':
.: {}
'f:name': {}
'f:port': {}
'f:protocol': {}
'f:targetPort': {}
'k:{"port":443,"protocol":"TCP"}':
.: {}
'f:name': {}
'f:port': {}
'f:targetPort': {}
manager: cd-controller
operation: Apply
time: '2022-06-24T19:45:02Z'
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
.: {}
'f:cd.hanzo.ai/sync-options': {}
'f:kubectl.kubernetes.io/last-applied-configuration': {}
'f:spec':
'f:internalTrafficPolicy': {}
'f:sessionAffinity': {}
'f:type': {}
manager: kubectl-client-side-apply
operation: Update
time: '2022-06-24T19:37:02Z'
name: multiple-protocol-port-svc
namespace: default
resourceVersion: '1825080'
uid: af42e800-bd33-4412-bc77-d204d298613d
spec:
clusterIP: 10.111.193.74
clusterIPs:
- 10.111.193.74
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: rtmpk
port: 1986
protocol: UDP
targetPort: 1986
- name: rtmp
port: 1935
protocol: TCP
targetPort: 1935
- name: https
port: 443
protocol: TCP
targetPort: 443
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}