Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Add the ability for users to provide placeholders in module.yaml, e.g.
kind: com.foo.bar/test spec: something: ${REPLACE_ME} transport: password: ${REPLACE_ME_WITH_A_SECRET} array: - ${REPLACE_ME} - sthElse
These placeholders would be resolved inĀ
org.apache.flink.statefun.flink.core.jsonmodule.RemoteModule#bindComponent
usingĀ
ParameterTool.fromSystemProperties().mergeWith(ParameterTool.fromMap(globalConfiguration)
by traversing the ComponentJsonObject.specJsonNode() and replacing values that contain placeholders with values from the combined system+globalConfig map