apiVersion: v1
kind: Service
metadata:
  name:  {{ .Release.Name }}-webapp
  labels:
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
    app.kubernetes.io/name: ocelot-social
    app.kubernetes.io/version: {{ .Chart.AppVersion }}
    helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
spec:
  ports:
    - name: {{ .Release.Name }}-webapp
      port: 3000
      protocol: TCP
      targetPort: 3000
  selector:
    ocelot.social/selector: deployment-webapp
