UNPKG

kubernetes-models

Version:
10 lines (9 loc) 552 B
import { Model, setSchema } from "@kubernetes-models/base"; import { addSchema } from "../_schemas/IoK8sApiCoreV1SecurityContext.mjs"; /** * SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */ export class SecurityContext extends Model { } setSchema(SecurityContext, "io.k8s.api.core.v1.SecurityContext", addSchema); export { SecurityContext as IoK8sApiCoreV1SecurityContext };