summaryrefslogtreecommitdiffstats
path: root/kubernetes
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
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')
-rw-r--r--kubernetes/log/components/log-elasticsearch/templates/deployment.yaml3
-rw-r--r--kubernetes/log/components/log-kibana/templates/deployment.yaml3
-rw-r--r--kubernetes/log/components/log-logstash/templates/deployment.yaml3
3 files changed, 9 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:
diff --git a/kubernetes/log/components/log-kibana/templates/deployment.yaml b/kubernetes/log/components/log-kibana/templates/deployment.yaml
index a1824d2509..5e3dc98f84 100644
--- a/kubernetes/log/components/log-kibana/templates/deployment.yaml
+++ b/kubernetes/log/components/log-kibana/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:
diff --git a/kubernetes/log/components/log-logstash/templates/deployment.yaml b/kubernetes/log/components/log-logstash/templates/deployment.yaml
index 566c7a3b10..92817fac88 100644
--- a/kubernetes/log/components/log-logstash/templates/deployment.yaml
+++ b/kubernetes/log/components/log-logstash/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: