# Proposed Service contract; merge into the existing gateway chart.
# Example identifiers. A compatible controller must implement this class.
# The Service resource alone does not configure a Cisco appliance.
apiVersion: v1
kind: Service
metadata:
  name: obrh-ingress
  namespace: istio-iut
spec:
  type: LoadBalancer
  loadBalancerClass: networking.example.com/cisco # Replace with actual adapter class.
  externalTrafficPolicy: Local # Only ready gateway endpoints on the targeted worker.
  selector:
    istio: istio-ingressgateway # Must match the worker gateway DaemonSet labels.
  ports:
  - name: https-consumer
    protocol: TCP
    port: 443
    targetPort: 8443 # Verify effective gateway listener binding in the selected chart.
    nodePort: 31265 # Retained example port; coordinate with existing Cisco targets.
# Eligible workers each run a ready gateway. Reconcile membership, then enable it.
# healthCheckNodePort and gateway /healthz/ready are not OBRH DB health checks.
# Do not expose a second plaintext business listener as an mTLS bypass.
