Interface KubeResolver

    • Method Detail

      • create

        static KubeResolver create()
        Create a Kubernetes resolver with the default options.
        Returns:
        the resolver
      • tokenProvider

        KubeResolver tokenProvider​(Supplier<String> tokenProvider)
        Set a token provider for the resolver: the tokenProvider supplier is called when the resolver needs a token or retries when the server responses with a 401 code.
        Parameters:
        tokenProvider - the token provider called when a bearer token is needed
        Returns:
        this instance