Upgrading kubernetes API
Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/kafka-topic-exporter/Chart.yaml b/kafka-topic-exporter/Chart.yaml
index e643c4f..aae7fd4 100644
--- a/kafka-topic-exporter/Chart.yaml
+++ b/kafka-topic-exporter/Chart.yaml
@@ -18,4 +18,4 @@
description: Kafka Topic Exporter
icon: https://guide.opencord.org/logos/cord.svg
-version: 1.0.0
+version: 1.0.1
diff --git a/kafka-topic-exporter/templates/exporter-deployment.yaml b/kafka-topic-exporter/templates/exporter-deployment.yaml
index f8dc458..01eac80 100644
--- a/kafka-topic-exporter/templates/exporter-deployment.yaml
+++ b/kafka-topic-exporter/templates/exporter-deployment.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
{{- if .Values.kpi_exporter.enabled }}
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "kpi-exporter.fullname" . }}
@@ -22,6 +22,10 @@
release: {{ .Release.Name }}
spec:
replicas: {{ .Values.kpi_exporter.replicas }}
+ selector:
+ matchLabels:
+ name: {{ template "kpi-exporter.fullname" . }}
+ release: {{ .Release.Name }}
template:
metadata:
labels: