mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-20 18:10:24 +00:00
Regenerated API
Kubernetes-commit: 3867cb40add0cfc41157e9fd11f2377cda7d3770
This commit is contained in:
parent
2ff887486f
commit
f0b2234e53
@ -37,6 +37,7 @@ type PodSecurityContextApplyConfiguration struct {
|
||||
FSGroupChangePolicy *corev1.PodFSGroupChangePolicy `json:"fsGroupChangePolicy,omitempty"`
|
||||
SeccompProfile *SeccompProfileApplyConfiguration `json:"seccompProfile,omitempty"`
|
||||
AppArmorProfile *AppArmorProfileApplyConfiguration `json:"appArmorProfile,omitempty"`
|
||||
SELinuxChangePolicy *corev1.PodSELinuxChangePolicy `json:"seLinuxChangePolicy,omitempty"`
|
||||
}
|
||||
|
||||
// PodSecurityContextApplyConfiguration constructs a declarative configuration of the PodSecurityContext type for use with
|
||||
@ -147,3 +148,11 @@ func (b *PodSecurityContextApplyConfiguration) WithAppArmorProfile(value *AppArm
|
||||
b.AppArmorProfile = value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithSELinuxChangePolicy sets the SELinuxChangePolicy field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the SELinuxChangePolicy field is set to the value of the last call.
|
||||
func (b *PodSecurityContextApplyConfiguration) WithSELinuxChangePolicy(value corev1.PodSELinuxChangePolicy) *PodSecurityContextApplyConfiguration {
|
||||
b.SELinuxChangePolicy = &value
|
||||
return b
|
||||
}
|
||||
|
@ -6920,6 +6920,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: runAsUser
|
||||
type:
|
||||
scalar: numeric
|
||||
- name: seLinuxChangePolicy
|
||||
type:
|
||||
scalar: string
|
||||
- name: seLinuxOptions
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.SELinuxOptions
|
||||
|
Loading…
Reference in New Issue
Block a user