fix: resource-quota-ns default namespace and setup commands

Signed-off-by: Abhinav Sinha <[email protected]>
This commit is contained in:
Abhinav Sinha
2026-06-10 11:59:34 +05:30
parent 3f51e219b0
commit 71b65cb0af
+2 -6
View File
@@ -1273,11 +1273,7 @@
"command": "cat <<EOF | kubectl apply -f -\napiVersion: v1\nkind: ResourceQuota\nmetadata:\n name: compute-quota\n namespace: team-quota\nspec:\n hard:\n pods: \"5\"\n requests.cpu: \"1\"\n requests.memory: \"500Mi\"\nEOF" "command": "cat <<EOF | kubectl apply -f -\napiVersion: v1\nkind: ResourceQuota\nmetadata:\n name: compute-quota\n namespace: team-quota\nspec:\n hard:\n pods: \"5\"\n requests.cpu: \"1\"\n requests.memory: \"500Mi\"\nEOF"
} }
], ],
"setup_commands": [ "setup_commands": [],
{
"command": "kubectl create namespace team-quota 2>/dev/null || true"
}
],
"validation": { "validation": {
"commands": [ "commands": [
{ {
@@ -1300,7 +1296,7 @@
} }
] ]
}, },
"default_namespace": "team-quota", "default_namespace": "default",
"teardown_commands": [ "teardown_commands": [
{ {
"command": "kubectl delete namespace team-quota --ignore-not-found --wait=false" "command": "kubectl delete namespace team-quota --ignore-not-found --wait=false"