apiVersion: v1
kind: ConfigMap
metadata:
  name: api-service-wrapper
  labels:
    mesitis/offering: "api-service"
    mesitis/kind: "service"
    mesitis/enabled: "true"
    mesitis/order: "2"
data:
  embedded-resource: |
    {
      "apiVersion": "v1",
      "kind": "Service",
      "metadata": {
        "name": "back-end-service",
        "labels": {
          "app": "back-end"
        }
      },
      "spec": {
        "selector":{
            "app":"back-end"
        },
        "ports": [
            {
            "protocol": "TCP",
            "port": 80,
            "targetPort": 9000
            }]
        }
    }
