diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-01 07:44:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-01 07:44:42 +0000 |
commit | b2188514ae53ca61abb7d7cc90279279cb489301 (patch) | |
tree | f04d3c23f43aa5f01411d929acd389d30b14dfef /kubernetes/log | |
parent | 975d0e282099e87c4902f77185e820faae3e8b4a (diff) | |
parent | 7c712863d0d0ae0486cb3a6f293693ad0a3102b0 (diff) |
Merge "[LOG] Fix log charts to be compatibile with k8s 1.16+ and helm 3"
Diffstat (limited to 'kubernetes/log')
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: |