service.yml 521 Bytes
Newer Older
Matthias's avatar
Matthias committed
1
2
3
4
apiVersion: v1
kind: Service
metadata:
  namespace: {{ .Values.k8sNamespace }}
Matthias's avatar
Matthias committed
5
  name: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-service
Matthias's avatar
Matthias committed
6
  labels:
Matthias's avatar
Matthias committed
7
    app: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-app
Matthias's avatar
Matthias committed
8
9
10
11
spec:
  ports:
    - port: 5000
  selector:
Matthias's avatar
Matthias committed
12
13
14
    app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-app"
    group: "{{ .Values.k8sGroupName }}"
    environment: "{{ .Values.k8sEnvironment }}"
Matthias's avatar
Matthias committed
15
16
    tier: web
  clusterIP: None