BranchProtection is the Schema for the BranchProtections API. Protects a GitHub branch.
Type
CRD
Group
repo.github.upbound.io
Version
v1alpha1
apiVersion: repo.github.upbound.io/v1alpha1
kind: BranchProtection
BranchProtectionSpec defines the desired state of BranchProtection
No description provided.
The list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
Reference to a Repository in repo to populate repositoryId.
Policies for referencing.
Selector for a Repository in repo to populate repositoryId.
Policies for selection.
Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.
: The list of actor Names/IDs with dismissal access. If not empty, restrict_dismissals is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
: The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
BranchProtectionStatus defines the observed state of BranchProtection.
No description provided.
Conditions of the resource.
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.