Skip to content

Instantly share code, notes, and snippets.

@barakm
Created July 20, 2020 07:18
Show Gist options
  • Save barakm/c6bfcf3b3d168f2d0766497a07c5e046 to your computer and use it in GitHub Desktop.
Save barakm/c6bfcf3b3d168f2d0766497a07c5e046 to your computer and use it in GitHub Desktop.
Kubernetes Kind configuration with no authentication or authorisation
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatchesJSON6902:
- group: kubeadm.k8s.io
version: v1beta2
kind: ClusterConfiguration
patch: |
- op: add
path: /apiServer/extraArgs
value: {authorization-mode: AlwaysAllow}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment