Class RestrictedPodSecurityProvider
java.lang.Object
io.strimzi.plugin.security.profiles.impl.BaselinePodSecurityProvider
io.strimzi.plugin.security.profiles.impl.RestrictedPodSecurityProvider
- All Implemented Interfaces:
PodSecurityProvider
An implementation of the PodSecurityProvider which implements the restricted Kubernetes security profile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Strimzi Bridge containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka Bridge init containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Cruise Control container.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Topic Operator container.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the User Operator container.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka Connect Build container.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka Connect containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka Connect init containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka Exporter container.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka init containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the Kafka Mirror Maker 1 containers.io.fabric8.kubernetes.api.model.SecurityContextProvides the (container) security context for the ZooKeeper containers.Methods inherited from class io.strimzi.plugin.security.profiles.impl.BaselinePodSecurityProvider
configure, kafkaPodSecurityContext, zooKeeperPodSecurityContextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.strimzi.plugin.security.profiles.PodSecurityProvider
bridgePodSecurityContext, cruiseControlPodSecurityContext, entityOperatorPodSecurityContext, entityOperatorTlsSidecarContainerSecurityContext, jmxTransContainerSecurityContext, jmxTransPodSecurityContext, kafkaConnectBuildPodSecurityContext, kafkaConnectPodSecurityContext, kafkaExporterPodSecurityContext, kafkaMirrorMakerPodSecurityContext
-
Constructor Details
-
RestrictedPodSecurityProvider
public RestrictedPodSecurityProvider()
-
-
Method Details
-
zooKeeperContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext zooKeeperContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the ZooKeeper containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the ZooKeeper containers
-
kafkaContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka containers
-
kafkaInitContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaInitContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka init containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka init containers
-
entityTopicOperatorContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext entityTopicOperatorContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Topic Operator container. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Topic Operator container
-
entityUserOperatorContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext entityUserOperatorContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the User Operator container. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the User Operator container
-
kafkaExporterContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaExporterContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka Exporter container. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka Exporter container
-
cruiseControlContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext cruiseControlContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Cruise Control container. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Cruise Control container
-
kafkaConnectContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaConnectContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka Connect containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka Connect containers
-
kafkaConnectInitContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaConnectInitContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka Connect init containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka Connect init containers
-
kafkaConnectBuildContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaConnectBuildContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka Connect Build container. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka Connect Build container
-
kafkaMirrorMakerContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext kafkaMirrorMakerContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka Mirror Maker 1 containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka Mirror Maker 1 containers
-
bridgeContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext bridgeContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Strimzi Bridge containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Strimzi Bridge containers
-
bridgeInitContainerSecurityContext
public io.fabric8.kubernetes.api.model.SecurityContext bridgeInitContainerSecurityContext(ContainerSecurityProviderContext context) Description copied from interface:PodSecurityProviderProvides the (container) security context for the Kafka Bridge init containers. The default implementation just returns the security context configured by the user in the template section or null (no security context).- Parameters:
context- Provides the context which can be used to generate the security context- Returns:
- Security context which will be set for the Kafka Bridge init containers
-