public class SSLStoreOverlay extends Object
The following files are placed into the container: - keystore.jks - truststore.jks
The following Flink configuration entries are set: - security.ssl.keystore - security.ssl.truststore
| Modifier and Type | Class and Description |
|---|---|
static class |
SSLStoreOverlay.Builder
A builder for the
Krb5ConfOverlay. |
| Constructor and Description |
|---|
SSLStoreOverlay(File keystoreFile,
File truststoreFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPathRecursively(File sourcePath,
org.apache.flink.core.fs.Path targetPath,
ContainerSpecification env)
Add a path recursively to the container specification.
|
void |
configure(ContainerSpecification container)
Configure the given container specification.
|
static SSLStoreOverlay.Builder |
newBuilder() |
public void configure(ContainerSpecification container) throws IOException
ContainerOverlayIOExceptionpublic static SSLStoreOverlay.Builder newBuilder()
protected void addPathRecursively(File sourcePath, org.apache.flink.core.fs.Path targetPath, ContainerSpecification env) throws IOException
If the path is a directory, the directory itself (not just its contents) is added to the target path.
The execute bit is preserved; permissions aren't.
sourcePath - the path to add.targetPath - the target path.env - the specification to mutate.IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.