fix(vms): normalize comma spacing in unifi manifests — unblock the lint gate
The hand-authored UniFi VM manifests used column-aligned inline flow mappings
(`{ name: inform, port: 8080, protocol: TCP }`), which yamllint's `commas`
rule rejects as "too many spaces after comma". That made `make -C ci lint` FAIL,
so the merge gate has been BLOCKED on `main` since the UniFi commits landed —
every other static stage was green.
Collapse each run of spaces after a comma to one, and re-align the trailing
comments so the port tables stay readable. Whitespace only:
`kubectl kustomize apps/vms` renders byte-for-byte identically before and after.
The lint config is left untouched — relaxing the rule to make failing files pass
is moving the goalposts, not fixing the code.
Also refresh these files' stale `STAGING / DRAFT` headers: the tree is live,
reconciled by the non-gating `apps-vms` Flux Kustomization.
Gate after this change: spec-immutability / lint / l0 / l1 all green,
MERGE GATE: PASS.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
1 parent
3472f1d161
commit
4cf9572c58
5 files changed
+26
-26
No files matched your search
@@ -1,5 +1,5 @@
|
||||
---
|
||||
# STAGING / DRAFT — see namespace.yaml header.
|
||||
# LIVE — reconciled by the non-gating `apps-vms` Flux Kustomization (see namespace.yaml header).
|
||||
#
|
||||
# ============================================================================================
|
||||
# L4 EXPOSURE (the hard part) — why the shared HTTPS Gateway is NOT enough for UniFi.
|
||||
@@ -49,12 +49,12 @@ spec:
|
||||
selector:
|
||||
kubevirt.io/vm: unifi
|
||||
ports:
|
||||
- { name: inform, port: 8080, targetPort: 8080, protocol: TCP }
|
||||
- { name: ui, port: 11443, targetPort: 11443, protocol: TCP }
|
||||
- { name: ui-legacy, port: 8443, targetPort: 8443, protocol: TCP }
|
||||
- { name: portal-http, port: 8880, targetPort: 8880, protocol: TCP }
|
||||
- { name: portal-https, port: 8843, targetPort: 8843, protocol: TCP }
|
||||
- { name: throughput, port: 6789, targetPort: 6789, protocol: TCP }
|
||||
- { name: inform, port: 8080, targetPort: 8080, protocol: TCP }
|
||||
- { name: ui, port: 11443, targetPort: 11443, protocol: TCP }
|
||||
- { name: ui-legacy, port: 8443, targetPort: 8443, protocol: TCP }
|
||||
- { name: portal-http, port: 8880, targetPort: 8880, protocol: TCP }
|
||||
- { name: portal-https, port: 8843, targetPort: 8843, protocol: TCP }
|
||||
- { name: throughput, port: 6789, targetPort: 6789, protocol: TCP }
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -72,5 +72,5 @@ spec:
|
||||
selector:
|
||||
kubevirt.io/vm: unifi
|
||||
ports:
|
||||
- { name: stun, port: 3478, targetPort: 3478, protocol: UDP }
|
||||
- { name: stun, port: 3478, targetPort: 3478, protocol: UDP }
|
||||
- { name: discovery, port: 10001, targetPort: 10001, protocol: UDP }
|
||||
Reference in new issue
Block a user