apiVersion: v1
kind: Service
metadata:
  annotations:
    getambassador.io/config: |-
      ---
      apiVersion: ambassador/v0
      kind:  Mapping
      name: kubebench-dashboard-ui-mapping
      prefix: /dashboard/
      rewrite: /dashboard/
      service: kubebench-dashboard.$(namespace)
  name: kubebench-dashboard
spec:
  ports:
  - port: 80
    targetPort: 9303
  selector:
    app: kubebench-dashboard
