Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save lovemycodesnippets/443b3538153dc9b1ad50fd6abccd9b6e to your computer and use it in GitHub Desktop.

Select an option

Save lovemycodesnippets/443b3538153dc9b1ad50fd6abccd9b6e to your computer and use it in GitHub Desktop.
Create a Kind cluster (from "The Kubernetes Inner Loop With Cloud Foundry Korifi")
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Namespace
metadata:
  name: $KORIFI_NAMESPACE
  labels:
     pod-security.kubernetes.io/audit: restricted
     pod-security.kubernetes.io/enforce: restricted
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment