zhoulii commented on a change in pull request #12899:
URL: https://github.com/apache/flink/pull/12899#discussion_r476051560
##########
File path:
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/configuration/KubernetesConfigOptions.java
##########
@@ -221,6 +221,21 @@
/** Defines the configuration key of that external resource in
Kubernetes. This is used as a suffix in an actual config. */
public static final String
EXTERNAL_RESOURCE_KUBERNETES_CONFIG_KEY_SUFFIX = "kubernetes.config-key";
+ public static final ConfigOption<Map<String, String>>
KUBERNETES_SECRETS =
+ key("kubernetes.secrets")
+ .mapType()
+ .noDefaultValue()
+ .withDescription("The user-specified secrets that will
be mounted into Flink container. The value should be in " +
+ "the form of
foo:/opt/secrets-foo,bar:/opt/secrets-bar.");
+
+ public static final ConfigOption<List<Map<String, String>>>
KUBERNETES_ENV_SECRET_KEY_REF =
+ key("kubernetes.env.secretKeyRef")
+ .mapType()
+ .asList()
+ .noDefaultValue()
+ .withDescription("The user-specified secrets to set env
variables in Flink container. The value should be in " +
+ "the form of
env:FOO_ENV,secret:foo_secret,key:foo_key;env:BAR_ENV,secret:bar_secret,key:bar_key.");
Review comment:
done in
https://github.com/apache/flink/pull/12899/files#diff-1cd32b8ad754e869567bc0d78d39139fR236
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]