Skip to content

Instantly share code, notes, and snippets.

@LucasRoesler
Created March 12, 2020 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LucasRoesler/1b226fa46996de57966384a104d4a4fb to your computer and use it in GitHub Desktop.
Save LucasRoesler/1b226fa46996de57966384a104d4a4fb to your computer and use it in GitHub Desktop.
Installing openfaas with fsGroup security policy poc
kubectl create namespace openfaas-fn
kubectl create namespace openfaas
kubectl -n openfaas create secret generic basic-auth \
--from-literal=basic-auth-user=admin \
--from-literal=basic-auth-password=localdev
helm upgrade lucas-of openfaas/openfaas \
--install \
--namespace openfaas \
--set basic_auth=true \
--set functionNamespace=openfaas-fn \
--set faasnetes.setNonRootUser='true' \
--set faasnetes.image=theaxer/faas-netes:fsgroup-poc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment