Show / Hide Table of Contents

Class AllowedHostPathArgs

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.

Inheritance
System.Object
InputArgs
ResourceArgs
AllowedHostPathArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Inputs.Extensions.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class AllowedHostPathArgs : ResourceArgs

Properties

View Source

PathPrefix

pathPrefix is the path prefix that the host volume must match. It does not support *. Trailing slashes are trimmed when validating the path prefix with a host path.

Examples: /foo would allow /foo, /foo/ and /foo/bar /foo would not allow /food or /etc/foo

Declaration
public Input<string> PathPrefix { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ReadOnly

when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.

Declaration
public Input<bool> ReadOnly { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.