ca0eeef1 by Adam Heath

Fix service selector mapping.

1 parent dcb0dfb2
...@@ -62,7 +62,7 @@ metadata: ...@@ -62,7 +62,7 @@ metadata:
62 spec: 62 spec:
63 type: ClusterIP 63 type: ClusterIP
64 selector: 64 selector:
65 app: moqui 65 app: moqui-app
66 ports: 66 ports:
67 - name: http-moqui 67 - name: http-moqui
68 protocol: TCP 68 protocol: TCP
......
...@@ -193,6 +193,14 @@ releases: ...@@ -193,6 +193,14 @@ releases:
193 {{- if .Values.storage.sessions.storageClassName }} 193 {{- if .Values.storage.sessions.storageClassName }}
194 storageClassName: {{ .Values.storage.sessions.storageClassName }} 194 storageClassName: {{ .Values.storage.sessions.storageClassName }}
195 {{- end }} 195 {{- end }}
196 - apiVersion: v1
197 kind: Service
198 metadata:
199 name: {{ .Values.name }}-moqui
200 namespace: {{ .Values.namespace }}
201 spec:
202 selector:
203 app: {{ .Values.name }}-moqui-app
196 - apiVersion: apps/v1 204 - apiVersion: apps/v1
197 kind: Deployment 205 kind: Deployment
198 metadata: 206 metadata:
......