Fix Deployment of Flagger loadtester to include the correct label

The Deployment of the Flagger loadtester did not contain the correct
label app.kubernetes.io/name. This label is used for the Flagger
deployment and it is also used in the PodDisruptionBudget for
the Flagger operator. I added the same label to the Flagger
load tester to make the PodDisruptionBudget work correctly
for the Flagger loadtester.

Signed-off-by: Marcus Rodan <marcusrodan@gmail.com>
This commit is contained in:
Marcus Rodan
2021-04-28 10:59:18 +02:00
parent 3e845f1a29
commit 392865ec59
@@ -16,6 +16,7 @@ spec:
metadata: metadata:
labels: labels:
app: {{ include "loadtester.name" . }} app: {{ include "loadtester.name" . }}
app.kubernetes.io/name: {{ include "loadtester.name" . }}
annotations: annotations:
appmesh.k8s.aws/ports: "444" appmesh.k8s.aws/ports: "444"
{{- if .Values.podAnnotations }} {{- if .Values.podAnnotations }}