AppArmorProfileArgs

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

AppArmorProfile defines a pod or container's AppArmor settings.

Constructors

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

Properties

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

localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost".

Link copied to clipboard
val type: Output<String>

type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement.

Functions

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