SeLinuxOptionsV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the SELinux options that are applied to a container or pod in Kubernetes.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class SeLinuxOptionsV1
[<YamlDotNet.Serialization.YamlSerializable>]
type SeLinuxOptionsV1 = class
Public NotInheritable Class SeLinuxOptionsV1
- Inheritance
-
SeLinuxOptionsV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
SELinuxOptionsV1 allows you to specify security-enhanced Linux (SELinux) labels for Kubernetes containers or pods. The labels define context-related information, including user, role, type, and level, which are used by the SELinux kernel to enforce security rules. These options are primarily used in environments that enforce SELinux policies for enhanced workload isolation and security.
Constructors
SeLinuxOptionsV1() |
Properties
Level |
Gets or sets the SELinux level for the policy. This property specifies the SELinux level to apply. |
Role |
Gets or sets the SELinux role for the resource. This property represents the SELinux role element, which is part of the SELinux security policy used to define fine-grained access control. |
Type |
Gets or sets the SELinux type associated with the SELinuxOptions. This property specifies the SELinux type of the object. It is a security attribute used to define the security policy for a resource. |
User |
Gets or sets the SELinux user associated with the security context. The SELinux user is a required field and specifies the security user policy applied to the container or process. |