Skip to content

Commit

Permalink
Add app and release selector to the controller service
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet authored Sep 8, 2020
1 parent 8e95dd2 commit d9b9f13
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/chart/maesh/templates/controller/controller-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ spec:
name: mesh-controller-api
targetPort: api
selector:
app: maesh
component: controller
release: {{ .Release.Name | quote }}
2 changes: 2 additions & 0 deletions helm/chart/maesh/templates/coredns/coredns-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ spec:
matchLabels:
app: maesh
component: coredns
release: {{ .Release.Name | quote }}
template:
metadata:
labels:
app: maesh
component: coredns
release: {{ .Release.Name | quote }}
spec:
serviceAccountName: maesh-coredns
affinity:
Expand Down
1 change: 1 addition & 0 deletions helm/chart/maesh/templates/coredns/coredns-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
selector:
app: maesh
component: coredns
release: {{ .Release.Name | quote }}
type: ClusterIP
ports:
- name: dns
Expand Down
1 change: 1 addition & 0 deletions helm/chart/maesh/templates/mesh/mesh-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ spec:
selector:
app: maesh
component: maesh-mesh
release: {{ .Release.Name | quote }}

0 comments on commit d9b9f13

Please sign in to comment.