Interface Subject.Builder

    • Method Detail

      • namespace

        Subject.Builder namespace​(String namespace)

        The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.

        Parameters:
        namespace - The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceAccount

        Subject.Builder serviceAccount​(String serviceAccount)

        The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.

        Parameters:
        serviceAccount - The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.