Skip to content

Commit a1c6216

Browse files
Ambient Code Botclaude
andcommitted
fix(control-plane): drop -z- from MPP namespace prefix
The tenant-operator materializes TenantNamespace CRs as ambient-code--<id>, not ambient-code--z-<id>. The hardcoded z- prefix caused ProvisionNamespace to wait 60s for a namespace that never appeared. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a83e9fb commit a1c6216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ambient-control-plane/internal/kubeclient/namespace_provisioner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func NewMPPNamespaceProvisioner(kube *KubeClient, configNamespace string, logger
9797
}
9898
}
9999

100-
const mppNamespacePrefix = "ambient-code--z-"
100+
const mppNamespacePrefix = "ambient-code--"
101101

102102
func (p *MPPNamespaceProvisioner) instanceID(namespaceName string) string {
103103
if len(namespaceName) > len(mppNamespacePrefix) && namespaceName[:len(mppNamespacePrefix)] == mppNamespacePrefix {

0 commit comments

Comments
 (0)