public interface SecretsProviderConfigurator
| Modifier and Type | Method and Description |
|---|---|
void |
configureKubernetesRuntimeSecretsProvider(io.kubernetes.client.openapi.models.V1PodSpec podSpec,
String functionsContainerName,
Function.FunctionDetails functionDetails)
Attaches any secrets specific stuff to the k8 container for kubernetes runtime.
|
void |
configureProcessRuntimeSecretsProvider(ProcessBuilder processBuilder,
Function.FunctionDetails functionDetails)
Attaches any secrets specific stuff to the ProcessBuilder for process runtime.
|
default void |
doAdmissionChecks(io.kubernetes.client.openapi.apis.AppsV1Api appsV1Api,
io.kubernetes.client.openapi.apis.CoreV1Api coreV1Api,
String jobNamespace,
String jobName,
Function.FunctionDetails functionDetails)
Do config checks to see whether the secrets provided are conforming.
|
Type |
getSecretObjectType()
What is the type of the object that should be in the user secret config.
|
String |
getSecretsProviderClassName(Function.FunctionDetails functionDetails)
Return the Secrets Provider Classname.
|
Map<String,String> |
getSecretsProviderConfig(Function.FunctionDetails functionDetails)
Return the secrets provider config.
|
default void |
init(Map<String,String> config)
Initialize the SecretsProviderConfigurator.
|
String getSecretsProviderClassName(Function.FunctionDetails functionDetails)
Map<String,String> getSecretsProviderConfig(Function.FunctionDetails functionDetails)
void configureKubernetesRuntimeSecretsProvider(io.kubernetes.client.openapi.models.V1PodSpec podSpec,
String functionsContainerName,
Function.FunctionDetails functionDetails)
void configureProcessRuntimeSecretsProvider(ProcessBuilder processBuilder, Function.FunctionDetails functionDetails)
Type getSecretObjectType()
default void doAdmissionChecks(io.kubernetes.client.openapi.apis.AppsV1Api appsV1Api,
io.kubernetes.client.openapi.apis.CoreV1Api coreV1Api,
String jobNamespace,
String jobName,
Function.FunctionDetails functionDetails)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.