Interface RbacConfig.SubjectConfig

Enclosing interface:
RbacConfig

public static interface RbacConfig.SubjectConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The "apiGroup" resource that matches with the "kind" property.
    The "kind" resource to use by the Subject element in the generated Role Binding resource.
    The "name" resource to use by the Subject element in the generated Role Binding resource.
    The "namespace" resource to use by the Subject element in the generated Role Binding resource.
  • Method Details

    • name

      Optional<String> name()
      The "name" resource to use by the Subject element in the generated Role Binding resource.
    • kind

      @WithDefault("ServiceAccount") String kind()
      The "kind" resource to use by the Subject element in the generated Role Binding resource. By default, it uses the "ServiceAccount" kind.
    • apiGroup

      Optional<String> apiGroup()
      The "apiGroup" resource that matches with the "kind" property. By default, it's empty.
    • namespace

      Optional<String> namespace()
      The "namespace" resource to use by the Subject element in the generated Role Binding resource. By default, it will use the same as provided in the generated resources.