diff --git a/internal/config/config.go b/internal/config/config.go index 7234144..01ed8a5 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -101,6 +101,14 @@ func (c *Config) initializeEnvs() { }, }, }, + corev1.EnvVar{ + Name: "POD_NAME", + ValueFrom: &corev1.EnvVarSource{ + FieldRef: &corev1.ObjectFieldSelector{ + FieldPath: "metadata.name", + }, + }, + }, ) }