diff --git a/src/Kinds/K8sResource.php b/src/Kinds/K8sResource.php index f5775a6e..fd69ee85 100644 --- a/src/Kinds/K8sResource.php +++ b/src/Kinds/K8sResource.php @@ -216,7 +216,7 @@ public function setNamespace($namespace) return $this; } - $this->setAttribute('metadata.namespace', static::$defaultNamespace); + $this->setAttribute('metadata.namespace', $namespace); return $this; }