docs(k8s): note namespace naming constraints in the ownership error
Tell the user the valid namespace-name shape so they don't pick a suffix that k8s will reject (uppercase, underscores, etc.). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>pull/748/head
parent
4733631572
commit
b9148c8051
|
|
@ -231,7 +231,10 @@ class K8sDeployer(Deployer):
|
||||||
"\nFix: add an explicit `namespace:` override to this "
|
"\nFix: add an explicit `namespace:` override to this "
|
||||||
"deployment's spec.yml so it lands in its own "
|
"deployment's spec.yml so it lands in its own "
|
||||||
"namespace. For example:\n"
|
"namespace. For example:\n"
|
||||||
f" namespace: {self.k8s_namespace}-<suffix>"
|
f" namespace: {self.k8s_namespace}-<suffix>\n"
|
||||||
|
"\n(k8s namespace names must be lowercase alphanumeric "
|
||||||
|
"plus '-', start and end with an alphanumeric character, "
|
||||||
|
"≤63 chars.)"
|
||||||
)
|
)
|
||||||
if not owner:
|
if not owner:
|
||||||
# Legacy namespace (pre-dates this check) or user-created.
|
# Legacy namespace (pre-dates this check) or user-created.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue