Package io.quarkus.kubernetes.deployment
Class RoleBindingConfig
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.RoleBindingConfig
-
public class RoleBindingConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Boolean>clusterWideIf the Role sets in the `role-name` property is cluster wide or not.Map<String,String>labelsLabels to add into the RoleBinding resource.Optional<String>nameName of the RoleBinding resource to be generated.Optional<String>roleNameThe name of the Role resource to use by the RoleRef element in the generated Role Binding resource.Map<String,SubjectConfig>subjectsList of subjects elements to use in the generated RoleBinding resource.
-
Constructor Summary
Constructors Constructor Description RoleBindingConfig()
-
-
-
Field Detail
-
name
@ConfigItem public 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.
-
roleName
@ConfigItem public 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
@ConfigItem public Optional<Boolean> clusterWide
If the Role sets in the `role-name` property is cluster wide or not.
-
subjects
@ConfigItem public Map<String,SubjectConfig> subjects
List of subjects elements to use in the generated RoleBinding resource.
-
-