Marketplace
BrowsePublish
Marketplace
coopnorge/provider-github@v0.10.0
OrganizationRuleset
enterprise.github.upbound.io
OrganizationRuleset
coopnorge/provider-github@v0.10.0enterprise.github.upbound.io

OrganizationRuleset is the Schema for the OrganizationRulesets API. <no value>

Type

CRD

Group

enterprise.github.upbound.io

Version

v1alpha1

apiVersion: enterprise.github.upbound.io/v1alpha1

kind: OrganizationRuleset

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

OrganizationRulesetSpec defines the desired state of OrganizationRuleset

forProvider
requiredobject
requiredobject

No description provided.

array

The actors that can bypass the rules in this ruleset.

actorId
number
actorType
string
array

Parameters for an organization ruleset condition. ref_name is required alongside one of repository_name or repository_id.

refName
array
array

No description provided.

exclude
array
array

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

include
array
array

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

array

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.

array

No description provided.

exclude
array
array

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include
array
array

Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories.

protected
boolean
name
string
rules
array
array

Rules within the ruleset.

array

Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with tag_name_pattern as it only applies to rulesets with target branch.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the commit_author_email_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the commit_message_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the committer_email_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
creation
boolean
deletion
boolean
array

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

array

Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.

array

Status checks that are required. Several can be defined.

array

Choose which Actions workflows must pass before branches can be merged into a branch that matches this rule.

array

Actions workflows that are required. Several can be defined.

path
string
ref
string
array

Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with branch_name_pattern as it only applies to rulesets with target tag.

name
string
negate
boolean
operator
string
pattern
string
update
boolean
target
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

The actors that can bypass the rules in this ruleset.

actorId
number
actorType
string
array

Parameters for an organization ruleset condition. ref_name is required alongside one of repository_name or repository_id.

refName
array
array

No description provided.

exclude
array
array

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

include
array
array

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

array

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.

array

No description provided.

exclude
array
array

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include
array
array

Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories.

protected
boolean
name
string
rules
array
array

Rules within the ruleset.

array

Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with tag_name_pattern as it only applies to rulesets with target branch.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the commit_author_email_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the commit_message_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the committer_email_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
creation
boolean
deletion
boolean
array

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

array

Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.

array

Status checks that are required. Several can be defined.

array

Choose which Actions workflows must pass before branches can be merged into a branch that matches this rule.

array

Actions workflows that are required. Several can be defined.

path
string
ref
string
array

Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with branch_name_pattern as it only applies to rulesets with target tag.

name
string
negate
boolean
operator
string
pattern
string
update
boolean
target
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

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.

name
requiredstring
namespace
requiredstring
status
object
object

OrganizationRulesetStatus defines the observed state of OrganizationRuleset.

object

No description provided.

array

The actors that can bypass the rules in this ruleset.

actorId
number
actorType
string
array

Parameters for an organization ruleset condition. ref_name is required alongside one of repository_name or repository_id.

refName
array
array

No description provided.

exclude
array
array

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

include
array
array

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

array

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.

array

No description provided.

exclude
array
array

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include
array
array

Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories.

protected
boolean
etag
string
id
string
name
string
nodeId
string
rules
array
array

Rules within the ruleset.

array

Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with tag_name_pattern as it only applies to rulesets with target branch.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the commit_author_email_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the commit_message_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
array

Parameters to be used for the committer_email_pattern rule.

name
string
negate
boolean
operator
string
pattern
string
creation
boolean
deletion
boolean
array

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

array

Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.

array

Status checks that are required. Several can be defined.

array

Choose which Actions workflows must pass before branches can be merged into a branch that matches this rule.

array

Actions workflows that are required. Several can be defined.

path
string
ref
string
array

Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with branch_name_pattern as it only applies to rulesets with target tag.

name
string
negate
boolean
operator
string
pattern
string
update
boolean
rulesetId
number
target
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.