re-reorder authorizers (RBAC before Webhook).
This commit is contained in:
		@@ -1683,7 +1683,7 @@ function start-kube-apiserver {
 | 
			
		||||
  local webhook_config_mount=""
 | 
			
		||||
  local webhook_config_volume=""
 | 
			
		||||
  if [[ -n "${GCP_AUTHZ_URL:-}" ]]; then
 | 
			
		||||
    authorization_mode="Webhook,${authorization_mode}"
 | 
			
		||||
    authorization_mode="${authorization_mode},Webhook"
 | 
			
		||||
    params+=" --authorization-webhook-config-file=/etc/gcp_authz.config"
 | 
			
		||||
    webhook_config_mount="{\"name\": \"webhookconfigmount\",\"mountPath\": \"/etc/gcp_authz.config\", \"readOnly\": false},"
 | 
			
		||||
    webhook_config_volume="{\"name\": \"webhookconfigmount\",\"hostPath\": {\"path\": \"/etc/gcp_authz.config\", \"type\": \"FileOrCreate\"}},"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user