zhoulii commented on a change in pull request #12899:
URL: https://github.com/apache/flink/pull/12899#discussion_r470372722



##########
File path: 
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/configuration/KubernetesConfigOptions.java
##########
@@ -221,6 +221,22 @@
        /** 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 are 
mounted into Flink container. The value should be in " +
+                               "the form of a1:v1,a2:v2. For example for 
mounting secrets foo to path /opt/secrets , just need to set " +
+                               "kubernetes.secrets: foo:/opt/secrets in the 
flink-conf.yaml");
+
+       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 
variable in Flink container. The value should be in " +

Review comment:
       fixed




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to