We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0cb1b4 + 004a390 commit 2a9cf72Copy full SHA for 2a9cf72
1 file changed
backend/src/v2/config/env.go
@@ -104,7 +104,7 @@ func InPodNamespace() (string, error) {
104
105
// InPodName gets the pod name from inside a Kubernetes Pod.
106
func InPodName() (string, error) {
107
- if podName, exists := os.LookupEnv("ARGO_POD_NAME"); exists && podName != "" {
+ if podName, exists := os.LookupEnv("KFP_POD_NAME"); exists && podName != "" {
108
return podName, nil
109
}
110
podName, err := os.ReadFile("/etc/hostname")
0 commit comments