Skip to content

security.v1.seLinuxContextStrategyOptions

"SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy."

Index

Fields

fn withType

withType(type)

"Type is the strategy that will dictate what SELinux context is used in the SecurityContext."

obj seLinuxOptions

"SELinuxOptions are the labels to be applied to the container"

fn seLinuxOptions.withLevel

withLevel(level)

"Level is SELinux level label that applies to the container."

fn seLinuxOptions.withRole

withRole(role)

"Role is a SELinux role label that applies to the container."

fn seLinuxOptions.withType

withType(type)

"Type is a SELinux type label that applies to the container."

fn seLinuxOptions.withUser

withUser(user)

"User is a SELinux user label that applies to the container."