openfaas / certifier

OpenFaaS Compliance testing
MIT License
25 stars 14 forks source link

feat: Add subtest for FunctionList behavior #72

Closed LucasRoesler closed 3 years ago

LucasRoesler commented 3 years ago

Add tests to verify the ListFunctions behavior after we deploy some functions. This test also verifies listing functions in mutliple namespaces.

Testing

kind create cluster

arkade install openfaas --basic-auth=false --clusterrole

kubectl create namespace certifier-test
kubectl annotate namespace/certifier-test openfaas="1"

export CERTIFIER_NAMESPACES=certifier-test

kubectl port-forward -n openfaas svc/gateway 8080:8080 &
make test-kubernetes