Regenerated API

Kubernetes-commit: 3867cb40add0cfc41157e9fd11f2377cda7d3770
This commit is contained in:
Jan Safranek 2024-10-03 11:13:07 +02:00 committed by Kubernetes Publisher
parent 2ff887486f
commit f0b2234e53
2 changed files with 12 additions and 0 deletions

View File

@ -37,6 +37,7 @@ type PodSecurityContextApplyConfiguration struct {
FSGroupChangePolicy *corev1.PodFSGroupChangePolicy `json:"fsGroupChangePolicy,omitempty"` FSGroupChangePolicy *corev1.PodFSGroupChangePolicy `json:"fsGroupChangePolicy,omitempty"`
SeccompProfile *SeccompProfileApplyConfiguration `json:"seccompProfile,omitempty"` SeccompProfile *SeccompProfileApplyConfiguration `json:"seccompProfile,omitempty"`
AppArmorProfile *AppArmorProfileApplyConfiguration `json:"appArmorProfile,omitempty"` AppArmorProfile *AppArmorProfileApplyConfiguration `json:"appArmorProfile,omitempty"`
SELinuxChangePolicy *corev1.PodSELinuxChangePolicy `json:"seLinuxChangePolicy,omitempty"`
} }
// PodSecurityContextApplyConfiguration constructs a declarative configuration of the PodSecurityContext type for use with // 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 b.AppArmorProfile = value
return b 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
}

View File

@ -6920,6 +6920,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: runAsUser - name: runAsUser
type: type:
scalar: numeric scalar: numeric
- name: seLinuxChangePolicy
type:
scalar: string
- name: seLinuxOptions - name: seLinuxOptions
type: type:
namedType: io.k8s.api.core.v1.SELinuxOptions namedType: io.k8s.api.core.v1.SELinuxOptions