Class KubernetesServiceAccountBuildItem


  • public final class KubernetesServiceAccountBuildItem
    extends io.quarkus.builder.item.MultiBuildItem
    Produce this build item to request the Kubernetes extension to generate a Kubernetes ServiceAccount resource.
    • Constructor Detail

      • KubernetesServiceAccountBuildItem

        public KubernetesServiceAccountBuildItem​(boolean useAsDefault)
        With empty parameters, it will generate a service account with the same name that the deployment.
      • KubernetesServiceAccountBuildItem

        public KubernetesServiceAccountBuildItem​(String name,
                                                 String namespace,
                                                 Map<String,​String> labels,
                                                 boolean useAsDefault)
    • Method Detail

      • getName

        public String getName()
      • getNamespace

        public String getNamespace()
      • isUseAsDefault

        public boolean isUseAsDefault()