openfaas / certifier

OpenFaaS Compliance testing
MIT License
26 stars 14 forks source link

Validate Multi-Namespace support #64

Closed nitishkumar71 closed 3 years ago

nitishkumar71 commented 3 years ago

Signed-off-by: Nitishkumar Singh nitishkumarsingh71@gmail.com

Closes #63

Testing Steps

  1. Create Kind Cluster kind create cluster --name fass-pv-test
  2. install openfaas using arkade arkade install openfaas --basic-auth=false --clusterrole
  3. Port Forward gateway to 8080 kubectl port-forward -n openfaas svc/gateway 8080:8080 &
  4. Annotate kubernetes namespace
    kubectl create namespace staging-fn
    kubectl annotate namespace/staging-fn openfaas="1"
    kubectl create namespace dev
    kubectl annotate namespace/dev openfaas="1"
  5. Export CERTIFIER_NAMESPACES export CERTIFIER_NAMESPACES=staging-fn,dev
  6. Test K8 provider make test-kubernetes
nitishkumar71 commented 3 years ago

@LucasRoesler Please review it.

derek[bot] commented 3 years ago

Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off. That's something we need before your Pull Request can be merged. Please see our contributing guide. Tip: if you only have one commit so far then run: git commit --amend --signoff and then git push --force.

nitishkumar71 commented 3 years ago

@LucasRoesler Thank you for the review. I have made all the required changes.