test(cmd/root):Added support for kubernetes provider config

This commit is contained in:
valexz@gmail.com
2023-10-08 19:56:41 +05:00
committed by Alexis Couvreur
parent f4e88ae322
commit acf672efcd
7 changed files with 24 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
PROVIDER_NAME=envvar
PROVIDER_KUBERNETES_QPS=16
PROVIDER_KUBERNETES_BURST=32
SERVER_PORT=2222
SERVER_BASE_PATH=/envvar/
STORAGE_FILE=/tmp/envvar.json

View File

@@ -1,5 +1,8 @@
provider:
name: configfile
kubernetes:
qps: 64
burst: 128
server:
port: 1111
base-path: /configfile/

View File

@@ -7,7 +7,11 @@
"File": "/tmp/cli.json"
},
"Provider": {
"Name": "cli"
"Name": "cli",
"Kubernetes": {
"QPS": 256,
"Burst": 512
}
},
"Sessions": {
"DefaultDuration": 10800000000000,

View File

@@ -7,7 +7,11 @@
"File": "/tmp/envvar.json"
},
"Provider": {
"Name": "envvar"
"Name": "envvar",
"Kubernetes": {
"QPS": 16,
"Burst": 32
}
},
"Sessions": {
"DefaultDuration": 7200000000000,

View File

@@ -7,7 +7,11 @@
"File": "/tmp/configfile.json"
},
"Provider": {
"Name": "configfile"
"Name": "configfile",
"Kubernetes": {
"QPS": 64,
"Burst": 128
}
},
"Sessions": {
"DefaultDuration": 3600000000000,