summaryrefslogtreecommitdiffstats
path: root/kubernetes/log/components/log-elasticsearch/templates/deployment.yaml
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-11-26 10:05:39 +0000
committerGrzegorz-Lis <grzegorz.lis@nokia.com>2020-11-26 10:05:39 +0000
commit7c712863d0d0ae0486cb3a6f293693ad0a3102b0 (patch)
tree533b1541f1664646f01624a4ea29eed0463f1fb8 /kubernetes/log/components/log-elasticsearch/templates/deployment.yaml
parentcdf8a886b5d678f80d4e28cc9d8533e971b23970 (diff)
[LOG] Fix log charts to be compatibile with k8s 1.16+ and helm 3
Issue-ID: OOM-2562 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Ie0511c79d19ae5d17b42fab7d0cbdfad3425b8ac
Diffstat (limited to 'kubernetes/log/components/log-elasticsearch/templates/deployment.yaml')
-rw-r--r--kubernetes/log/components/log-elasticsearch/templates/deployment.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/log/components/log-elasticsearch/templates/deployment.yaml b/kubernetes/log/components/log-elasticsearch/templates/deployment.yaml
index 6a0e6d2e3d..b778af8564 100644
--- a/kubernetes/log/components/log-elasticsearch/templates/deployment.yaml
+++ b/kubernetes/log/components/log-elasticsearch/templates/deployment.yaml
@@ -26,6 +26,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: