From 17f968902328bfa6cdaa45c5af4b34606481c948 Mon Sep 17 00:00:00 2001 From: rmweir Date: Fri, 25 Oct 2019 15:30:14 -0700 Subject: [PATCH] Add PspEnabled field to cluster capabilities Added PspEnabled field to cluster capabilities. It is necessary to track this value to determine if pod policies can be configured. --- apis/management.cattle.io/v3/cluster_types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/management.cattle.io/v3/cluster_types.go b/apis/management.cattle.io/v3/cluster_types.go index 4f1525ed..765e56db 100644 --- a/apis/management.cattle.io/v3/cluster_types.go +++ b/apis/management.cattle.io/v3/cluster_types.go @@ -242,6 +242,7 @@ type Capabilities struct { NodePoolScalingSupported bool `json:"nodePoolScalingSupported,omitempty"` NodePortRange string `json:"nodePortRange,omitempty"` TaintSupport *bool `json:"taintSupport,omitempty"` + PspEnabled bool `json:"pspEnabled,omitempty"` } type LoadBalancerCapabilities struct {