SeccompProfilePatchArgs

data class SeccompProfilePatchArgs(val localhostProfile: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<SeccompProfilePatchArgs>

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

Constructors

Link copied to clipboard
constructor(localhostProfile: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val localhostProfile: Output<String>? = null

localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".

Link copied to clipboard
val type: Output<String>? = null

type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.

Functions

Link copied to clipboard
open override fun toJava(): SeccompProfilePatchArgs