Interface RbacConfig.RoleBindingConfig

Enclosing interface:
RbacConfig

public static interface RbacConfig.RoleBindingConfig
  • Method Details

    • name

      Optional<String> name()
      Name of the RoleBinding resource to be generated. If not provided, it will use the application name plus the role ref name.
    • labels

      @ConfigDocMapKey("label-name") Map<String,String> labels()
      Labels to add into the RoleBinding resource.
    • roleName

      Optional<String> roleName()
      The name of the Role resource to use by the RoleRef element in the generated Role Binding resource. By default, it's "view" role name.
    • clusterWide

      Optional<Boolean> clusterWide()
      If the Role sets in the `role-name` property is cluster wide or not.
    • subjects

      List of subjects elements to use in the generated RoleBinding resource.