Skip to content

Commit 08fbeca

Browse files
committed
add resource quota for testing ns
Signed-off-by: IvanHunters <[email protected]>
1 parent c0d5e52 commit 08fbeca

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎hack/e2e-install-cozystack.bats‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ EOF
123123

124124
@test "Configure Tenant and wait for applications" {
125125
# Patch root tenant and wait for its releases
126+
126127
kubectl patch tenants/root -n tenant-root --type merge -p '{"spec":{"host":"example.org","ingress":true,"monitoring":true,"etcd":true,"isolated":true, "seaweedfs": true}}'
127128

128129
timeout 60 sh -ec 'until kubectl get hr -n tenant-root etcd ingress monitoring seaweedfs tenant-root >/dev/null 2>&1; do sleep 1; done'
@@ -188,7 +189,10 @@ spec:
188189
ingress: false
189190
isolated: true
190191
monitoring: false
191-
resourceQuotas: {}
192+
resourceQuotas:
193+
cpu: "4"
194+
memory: "4Gi"
195+
storage: "100Gi"
192196
seaweedfs: false
193197
EOF
194198
kubectl wait hr/tenant-test -n tenant-root --timeout=1m --for=condition=ready

0 commit comments

Comments
 (0)