1
0
mirror of https://github.com/rancher/types.git synced 2025-07-12 12:57:58 +00:00

Merge pull request #1022 from rmweir/add-psp-enabled-2.4

[Fordward port]: Add psp enabled 2.4
This commit is contained in:
Dan Ramich 2019-11-04 10:38:54 -08:00 committed by GitHub
commit 1bb83aca99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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 {

View File

@ -6,6 +6,7 @@ const (
CapabilitiesFieldLoadBalancerCapabilities = "loadBalancerCapabilities"
CapabilitiesFieldNodePoolScalingSupported = "nodePoolScalingSupported"
CapabilitiesFieldNodePortRange = "nodePortRange"
CapabilitiesFieldPspEnabled = "pspEnabled"
CapabilitiesFieldTaintSupport = "taintSupport"
)
@ -14,5 +15,6 @@ type Capabilities struct {
LoadBalancerCapabilities *LoadBalancerCapabilities `json:"loadBalancerCapabilities,omitempty" yaml:"loadBalancerCapabilities,omitempty"`
NodePoolScalingSupported bool `json:"nodePoolScalingSupported,omitempty" yaml:"nodePoolScalingSupported,omitempty"`
NodePortRange string `json:"nodePortRange,omitempty" yaml:"nodePortRange,omitempty"`
PspEnabled bool `json:"pspEnabled,omitempty" yaml:"pspEnabled,omitempty"`
TaintSupport *bool `json:"taintSupport,omitempty" yaml:"taintSupport,omitempty"`
}