Skip to content
Docs Try Aspire

AllowedHostPathV1Beta1 Properties

Class Properties 2 members
Represents an allowed host path for a PodSecurityPolicy in Kubernetes.
PathPrefix Section titled PathPrefix string
Gets or sets the path prefix for the allowed host path. This property specifies the path prefix that will be matched against a volume's path. Only paths with this prefix will be allowed.
public string PathPrefix { get; set; }
ReadOnly Section titled ReadOnly nullable bool?
Gets or sets a value indicating whether the host path is read-only. When set to true, the associated path can only be accessed in read-only mode.
public bool? ReadOnly { get; set; }