service.yaml 756 B

123456789101112131415161718192021222324
  1. # ClusterIP Service for the public TLS listener only (task 46).
  2. #
  3. # Port 8080 is the TLS public listener. The plaintext health listener (8081)
  4. # is intentionally NOT exposed here: kubelet probes reach it via the pod IP,
  5. # and external traffic must never hit it. mTLS deployments sit behind an
  6. # L4/TCP passthrough (NLB gateway / TLSRoute), never an L7 ingress that
  7. # terminates TLS — see docs/DEPLOYMENT.md.
  8. apiVersion: v1
  9. kind: Service
  10. metadata:
  11. name: d-oauth-server
  12. namespace: d-oauth
  13. labels:
  14. app.kubernetes.io/name: d-oauth-server
  15. app.kubernetes.io/part-of: d-oauth
  16. spec:
  17. type: ClusterIP
  18. selector:
  19. app.kubernetes.io/name: d-oauth-server
  20. ports:
  21. - name: public-tls
  22. port: 8080
  23. targetPort: 8080
  24. protocol: TCP