Interface SeccompProfile

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    SeccompProfile.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-15T03:08:35.658Z")
    @Stability(Stable)
    public interface SeccompProfile
    extends software.amazon.jsii.JsiiSerializable
    SeccompProfile defines a pod/container's seccomp profile settings.

    Only one profile source may be set.

    • Method Detail

      • getType

        @Stability(Stable)
        @NotNull
        IoK8SApiCoreV1SeccompProfileType getType()
        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.

        Possible enum values:

        • "Localhost" indicates a profile defined in a file on the node should be used. The file's location relative to /seccomp.
        • "RuntimeDefault" represents the default container runtime seccomp profile.
        • "Unconfined" indicates no seccomp profile is applied (A.K.A. unconfined).
      • getLocalhostProfile

        @Stability(Stable)
        @Nullable
        default String getLocalhostProfile()
        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".