From af6456d1ea689bd961a5d3da8a8036b32214540c Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Wed, 16 Oct 2019 17:53:42 +0300 Subject: [PATCH] Fix selector for calico-typha deployment (#5253) Change-Id: I79f43379cbe1c495cb416f0572e65f695d5ec2b8 --- roles/network_plugin/calico/templates/calico-typha.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/network_plugin/calico/templates/calico-typha.yml.j2 b/roles/network_plugin/calico/templates/calico-typha.yml.j2 index 87bdd8162..3d8666e6f 100644 --- a/roles/network_plugin/calico/templates/calico-typha.yml.j2 +++ b/roles/network_plugin/calico/templates/calico-typha.yml.j2 @@ -37,6 +37,9 @@ spec: # production, we recommend running at least 3 replicas to reduce the impact of rolling upgrade. replicas: {{ typha_replicas }} revisionHistoryLimit: 2 + selector: + matchLabels: + k8s-app: calico-typha template: metadata: labels: