Skip to content

Commit

Permalink
fix: pass container port dynamically to dataservice
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-portkey committed Dec 17, 2024
1 parent 35655fd commit 8f1cc1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helm/enterprise/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ Common Environment Env as Map
{{- end }}

{{- define "dataservice.commonEnv" -}}
{{- include "portkeyenterprise.renderEnvVar" (list "PORT" .Values.dataservice.containerPort) | nindent 0 }}
{{- $commonEnv := include "portkeyenterprise.commonEnvMap" . | fromYaml -}}
{{- if hasKey $commonEnv "ALBUS_BASEPATH" -}}
{{- include "portkeyenterprise.renderEnvVar" (list "ALBUS_ENDPOINT" $commonEnv.ALBUS_BASEPATH) | nindent 0 }}
Expand Down

0 comments on commit 8f1cc1a

Please sign in to comment.