Repository navigation
fix(gateway): apply service type and annotations - #260
Conversation
|
@infer CI is failing - can you fix this? |
|
Model: Todos
Pull Request✅ Infer Result: SuccessCI is fixed and fully green on PR #260 - all 8 checks pass (Lint, Build, Generate & Verify Clean State, Unit Tests, E2E Tests, CodeQL x2, Analyze). What was failingThe What I changed (commit
|
## [0.27.0](v0.26.0...v0.27.0) (2026-10-03) ### ✨ Features * **gateway:** add spec.a2a with Agent CR discovery ([#269](#269)) ([e707643](e707643)) ### 🐛 Bug Fixes * **gateway:** apply service type and annotations ([#260](#260)) ([1a78570](1a78570)) ### 👷 CI * **deps:** bump the gomod group with 4 updates ([#263](#263)) ([8c30df5](8c30df5)) ### 📚 Documentation * **agents:** add code readability guidelines ([#261](#261)) ([1b8157d](1b8157d)) * **agents:** add code readability guidelines ([#262](#262)) ([41c8e79](41c8e79)) * document gateway api crds and namespace label ([#258](#258)) ([a49a634](a49a634)) * fix install docs pinned version and stale claims ([#257](#257)) ([849e6f5](849e6f5)) * fix readme monitoring labels, configmap and status ([#256](#256)) ([31516bd](31516bd)) * fix removed and renamed CRD fields in docs ([#259](#259)) ([e81ea37](e81ea37)) ### 🔧 Miscellaneous * **deps:** bump claude-code 2.1.278 -> 2.1.280 ([#249](#249)) ([8888466](8888466)) * **deps:** bump claude-code 2.1.280 -> 2.1.283 ([#264](#264)) ([68d42bb](68d42bb)) * **deps:** bump claude-code 2.1.283 -> 2.1.285 ([#267](#267)) ([a940cb0](a940cb0)) * **deps:** bump infer CLI v0.205.3 -> v0.208.0 ([#250](#250)) ([3bcf0b1](3bcf0b1)) * **deps:** bump infer CLI v0.208.0 -> v0.218.0 ([#265](#265)) ([e08051d](e08051d)) * **deps:** bump infer CLI v0.218.0 -> v0.221.1 ([#266](#266)) ([a75538a](a75538a))
|
🎉 This PR is included in version 0.27.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
reconcileServicebuilt the Gateway Service from only selector and ports, sospec.service.typeandspec.service.annotationswere silently ignored (the API server defaulted every Service to ClusterIP), and its update path only diffed ports and selector.Spec.Typefromspec.service.type(defaulting to ClusterIP) and the Service annotations fromspec.service.annotations.No CRD or API changes - the fields already existed. Annotations are treated as authoritative on the operator-owned Service (same pattern as the upstream Gateway/HTTPRoute reconcilers), so removing a key from the spec removes it from the Service.
Closes #254