From e3a6948db86f6dfc7c9e166e9949f5862e84a5fd Mon Sep 17 00:00:00 2001 From: Yue Yang Date: Tue, 24 Oct 2023 17:01:49 +0800 Subject: [PATCH] chore: support set console env --- charts/hstreamdb/templates/hstreamdb.yaml | 3 +++ charts/hstreamdb/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/charts/hstreamdb/templates/hstreamdb.yaml b/charts/hstreamdb/templates/hstreamdb.yaml index f7c4602..0aa0996 100644 --- a/charts/hstreamdb/templates/hstreamdb.yaml +++ b/charts/hstreamdb/templates/hstreamdb.yaml @@ -40,3 +40,6 @@ spec: env: - name: HSTREAM_PRIVATE_ADDRESS value: {{ include "hstreamdb.fullname" . }}-internal-hserver:6570 + {{- with .Values.console.env }} + {{- toYaml . | nindent 8 }} + {{- end -}}}} diff --git a/charts/hstreamdb/values.yaml b/charts/hstreamdb/values.yaml index 477d6e4..1a6bfdc 100644 --- a/charts/hstreamdb/values.yaml +++ b/charts/hstreamdb/values.yaml @@ -136,6 +136,7 @@ console: # Name of the console component. name: hstreamdb-console replicaCount: 1 + env: servicePorts: - name: http port: 5177