Class ServicePortSecureResolver

java.lang.Object
org.springframework.cloud.kubernetes.commons.discovery.ServicePortSecureResolver

public final class ServicePortSecureResolver extends Object
  • Constructor Details

  • Method Details

    • resolve

      public boolean resolve(ServicePortSecureResolver.Input input)

      Returns true if any of the following conditions apply.

      • service contains a label named 'secured' that is truthy
      • service contains an annotation named 'secured' that is truthy
      • the port is one of the known ports used for secure communication