Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.11.3, 1.12.0
Description
The description of ConfigOption 'kubernetes.container.image' has a URL link, as follows:
@Documentation.OverrideDefault( "The default value depends on the actually running version. In general it looks like \"flink:<FLINK_VERSION>-scala_<SCALA_VERSION>\"") public static final ConfigOption<String> CONTAINER_IMAGE = key("kubernetes.container.image") .stringType() .defaultValue(getDefaultFlinkImage()) .withDescription( "Image to use for Flink containers. " + "The specified image must be based upon the same Apache Flink and Scala versions as used by the application. " + "Visit https://hub.docker.com/_/flink?tab=tags for the official docker images provided by the Flink project. The Flink project also publishes docker images here: https://hub.docker.com/r/apache/flink");
so the most reasonable way is to use Text Description with Link, as follows:
@Documentation.OverrideDefault( "The default value depends on the actually running version. In general it looks like \"flink:<FLINK_VERSION>-scala_<SCALA_VERSION>\"") public static final ConfigOption<String> CONTAINER_IMAGE = key("kubernetes.container.image") .stringType() .defaultValue(getDefaultFlinkImage()) .withDescription( Description.builder() .text( "Image to use for Flink containers. " + "The specified image must be based upon the same Apache Flink and Scala versions as used by the application. " + "Visit %s for the official docker images provided by the Flink project. The Flink project also publishes docker images to %s.", link("https://hub.docker.com/_/flink?tab=tags", "here"), link("https://hub.docker.com/r/apache/flink", "DockerHub")) .build());
Attachments
Issue Links
- links to