Skip to content

Instantly share code, notes, and snippets.

@LucasRoesler
Created July 28, 2019 09:27
Show Gist options
  • Save LucasRoesler/f02fccf055ad544ee00e694fdb25e9e4 to your computer and use it in GitHub Desktop.
Save LucasRoesler/f02fccf055ad544ee00e694fdb25e9e4 to your computer and use it in GitHub Desktop.
Running OpenFaaS Certifier for faas-netes in KinD
  1. Start the KinD env and disable auth. In the faas-netes project
make start-kind
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"

helm upgrade openfaas --install ./chart/openfaas \
    --namespace openfaas  \
    --set basic_auth=false \
    --set openfaasImagePullPolicy=IfNotPresent \
    --set faasnetes.imagePullPolicy=IfNotPresent \
    --set functionNamespace=openfaas-fn --wait
./contrib/restart_port_forward.sh
  1. In the faas-certifier project
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
export OPENFAAS_URL=http://127.0.0.1:31112/
make test-kubernetes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment