-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkind.yaml
More file actions
25 lines (24 loc) · 783 Bytes
/
kind.yaml
File metadata and controls
25 lines (24 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
metadata:
name: config
apiServer:
extraArgs:
authorization-mode: "RBAC,Webhook"
authorization-webhook-config-file: "/config/authz.yaml"
authorization-webhook-cache-authorized-ttl: "1s" # only so low for testing
authorization-webhook-cache-unauthorized-ttl: "1s" # only so low for testing
authorization-webhook-version: v1
extraVolumes:
- name: api-server-basic-auth-files
hostPath: "/config"
mountPath: "/config"
readOnly: true
nodes:
- role: control-plane
extraMounts:
- hostPath: /Users/I547291/Documents/Development/ams-pro/authz-webook/config
containerPath: /config