---
apiVersion: v1
kind: Service
metadata:
  name: ambtest-service
  annotations:
    getambassador.io/config: |
      ---
      apiVersion: ambassador/v1
      ambassador_id: "gen3"
      kind:  Mapping
      name:  ambtest_mapping
      prefix: /test/
      service: http://ambtest-service:80
spec:
  selector:
    app: ambtest
  ports:
  - name: http
    port: 80
    targetPort: 8080
