Interface RouteConfig


public interface RouteConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Custom annotations to add to exposition (route or ingress) resources
    boolean
    If true, the service will be exposed
    The host under which the application is going to be exposed
    Custom labels to add to exposition (route or ingress) resources
    The target named port.
    tls()
    The TLS configuration for the route.
  • Method Details

    • expose

      @WithDefault("false") boolean expose()
      If true, the service will be exposed
    • host

      Optional<String> host()
      The host under which the application is going to be exposed
    • targetPort

      @WithDefault("http") String targetPort()
      The target named port. If not provided, it will be deducted from the Service resource ports. Options are: "http" and "https".
    • annotations

      @ConfigDocMapKey("annotation-name") Map<String,String> annotations()
      Custom annotations to add to exposition (route or ingress) resources
    • labels

      @ConfigDocMapKey("label-name") Map<String,String> labels()
      Custom labels to add to exposition (route or ingress) resources
    • tls

      TLSConfig tls()
      The TLS configuration for the route.