{{- $name := include "apigwws.fullname" . -}}

apiVersion: v1
kind: ConfigMap
metadata:
  name: "ocelot-{{ $name }}"
  labels:
    app: {{ template "apigwws.name" . }}
    chart: {{ template "apigwws.chart" .}}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
data:
  ws: |-
    {{ (.Files.Glob "configuration-web-shopping.json").AsConfig }}