service.yaml 515 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
apiVersion: v1
kind: Service
metadata:
  name: {{.Values.Plug}}-{{.Values.deploymentEnvironment}}
  namespace: {{.Release.Namespace}}
  labels:
    heritage: {{.Release.Service | quote }}
    release: {{ .Release.Name | quote }}
    chart: {{.Chart.Name}}-{{.Chart.Version}}
    image: {{.Values.ImageTag | quote }}
spec:
  ports:
    -
      port: 49152
      targetPort: 49152
      protocol: TCP
  selector:
    name: {{.Values.Plug}}-{{.Values.deploymentEnvironment}}
    env: {{.Values.deploymentEnvironment}}