From 1ee6074c3c77a76013788b69196ebc0eab08250b Mon Sep 17 00:00:00 2001 From: ljupcovangelski Date: Mon, 10 Jul 2023 22:22:33 +0200 Subject: [PATCH] [#4108] Start Rest Karapace by default --- .../kafka/charts/schema-registry/templates/service.yaml | 5 ++++- .../charts/kafka/charts/schema-registry/values.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/templates/service.yaml b/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/templates/service.yaml index 7d17a5bd92..b4b57a315a 100644 --- a/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/templates/service.yaml +++ b/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/templates/service.yaml @@ -9,6 +9,9 @@ spec: ports: - name: schema-registry port: {{ .Values.servicePort }} - selector: +{{- if .Values.restEnabled }} + - name: rest-api + port: {{ .Values.restPort }} +{{- end}} selector: app: schema-registry release: {{ .Release.Name }} diff --git a/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/values.yaml b/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/values.yaml index 3f89f02c9a..d95dfcad3f 100644 --- a/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/values.yaml +++ b/infrastructure/helm-chart/charts/prerequisites/charts/kafka/charts/schema-registry/values.yaml @@ -9,4 +9,4 @@ kafka: bootstrapServers: kafka-headless:9092 minBrokers: 1 resources: {} -restEnabled: false \ No newline at end of file +restEnabled: true \ No newline at end of file