From e5329bd8fea87724adebfccbb0445b9ad99a7c54 Mon Sep 17 00:00:00 2001 From: Tony Tony Date: Tue, 27 Apr 2021 00:43:40 +0800 Subject: [PATCH] [kong] select only running pods for pdb spec (#352) --- charts/kong/templates/pdb.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/kong/templates/pdb.yaml b/charts/kong/templates/pdb.yaml index 4745e1caa..b89573feb 100644 --- a/charts/kong/templates/pdb.yaml +++ b/charts/kong/templates/pdb.yaml @@ -16,4 +16,5 @@ spec: selector: matchLabels: {{- include "kong.metaLabels" . | nindent 6 }} + app.kubernetes.io/component: app {{- end }}