diff --git a/faces-chart/templates/color.yaml b/faces-chart/templates/color.yaml index 97bd29f..7f5c74e 100644 --- a/faces-chart/templates/color.yaml +++ b/faces-chart/templates/color.yaml @@ -4,6 +4,8 @@ kind: Service metadata: name: color namespace: {{ .Release.Namespace }} + labels: + service: color spec: type: ClusterIP selector: @@ -17,6 +19,8 @@ kind: Deployment metadata: name: color namespace: {{ .Release.Namespace }} + labels: + service: color spec: replicas: 1 selector: diff --git a/faces-chart/templates/color2.yaml b/faces-chart/templates/color2.yaml index 79f92d0..b723cf9 100644 --- a/faces-chart/templates/color2.yaml +++ b/faces-chart/templates/color2.yaml @@ -5,6 +5,8 @@ kind: Service metadata: name: color2 namespace: {{ .Release.Namespace }} + labels: + service: color2 spec: type: ClusterIP selector: @@ -18,6 +20,8 @@ kind: Deployment metadata: name: color2 namespace: {{ .Release.Namespace }} + labels: + service: color2 spec: replicas: 1 selector: diff --git a/faces-chart/templates/face.yaml b/faces-chart/templates/face.yaml index 7fa2dd0..73a513d 100644 --- a/faces-chart/templates/face.yaml +++ b/faces-chart/templates/face.yaml @@ -4,6 +4,8 @@ kind: Service metadata: name: face namespace: {{ .Release.Namespace }} + labels: + service: face spec: type: ClusterIP selector: @@ -17,6 +19,8 @@ kind: Deployment metadata: name: face namespace: {{ .Release.Namespace }} + labels: + service: face spec: replicas: 1 selector: diff --git a/faces-chart/templates/faces-gui.yaml b/faces-chart/templates/faces-gui.yaml index e0c8bb7..42d777e 100644 --- a/faces-chart/templates/faces-gui.yaml +++ b/faces-chart/templates/faces-gui.yaml @@ -4,6 +4,8 @@ kind: Service metadata: name: faces-gui namespace: {{ .Release.Namespace }} + labels: + service: faces-gui spec: type: {{ .Values.gui.serviceType }} selector: @@ -17,6 +19,8 @@ kind: Deployment metadata: name: faces-gui namespace: {{ .Release.Namespace }} + labels: + service: faces-gui spec: replicas: 1 selector: diff --git a/faces-chart/templates/smiley.yaml b/faces-chart/templates/smiley.yaml index 17d1db9..e72e8a1 100644 --- a/faces-chart/templates/smiley.yaml +++ b/faces-chart/templates/smiley.yaml @@ -4,6 +4,8 @@ kind: Service metadata: name: smiley namespace: {{ .Release.Namespace }} + labels: + service: smiley spec: type: ClusterIP selector: @@ -17,6 +19,8 @@ kind: Deployment metadata: name: smiley namespace: {{ .Release.Namespace }} + labels: + service: smiley spec: replicas: 1 selector: diff --git a/faces-chart/templates/smiley2.yaml b/faces-chart/templates/smiley2.yaml index 4fe3804..fa6d7f1 100644 --- a/faces-chart/templates/smiley2.yaml +++ b/faces-chart/templates/smiley2.yaml @@ -5,6 +5,8 @@ kind: Service metadata: name: smiley2 namespace: {{ .Release.Namespace }} + labels: + service: smiley2 spec: type: ClusterIP selector: @@ -18,6 +20,8 @@ kind: Deployment metadata: name: smiley2 namespace: {{ .Release.Namespace }} + labels: + service: smiley2 spec: replicas: 1 selector: @@ -53,4 +57,4 @@ spec: limits: cpu: 250m memory: 128Mi -{{ end }} \ No newline at end of file +{{ end }}