Skip to content

Commit a8a66f2

Browse files
committed
helm: add NAMESPACE env var to EPP deployment for pool namespace fallback
1 parent deccda0 commit a8a66f2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

config/charts/inferencepool/values.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ inferenceExtension:
66
tag: main
77
pullPolicy: Always
88
extProcPort: 9002
9-
env: []
9+
# Environment variables for the EPP container.
10+
# The NAMESPACE variable is used as a fallback for the pool namespace if the --pool-namespace flag is not set.
11+
# By default, this is set from the pod's metadata.namespace.
12+
env:
13+
- name: NAMESPACE
14+
valueFrom:
15+
fieldRef:
16+
fieldPath: metadata.namespace
1017
pluginsConfigFile: "default-plugins.yaml"
1118
# Define additional container ports
1219
extraContainerPorts: []

0 commit comments

Comments
 (0)