Marketplace
BrowsePublish
Marketplace
xunholy/provider-github@v0.1.8
RepositoryRuleset
repo.crossplane.io
RepositoryRuleset
xunholy/provider-github@v0.1.8repo.crossplane.io

RepositoryRuleset is the Schema for the RepositoryRulesets API. Creates a GitHub repository ruleset.

Type

CRD

Group

repo.crossplane.io

Version

v1alpha1

apiVersion: repo.crossplane.io/v1alpha1

kind: RepositoryRuleset

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

RepositoryRulesetSpec defines the desired state of RepositoryRuleset

forProvider
requiredobject
requiredobject

No description provided.

array

(Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema) The actors that can bypass the rules in this ruleset.

actorId
number
actorType
string
array

(Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema) Parameters for a repository ruleset ref name condition.

refName
array
array

(Block List, Min: 1, Max: 1) (see below for nested schema)

exclude
array
array

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

include
array
array

(List of String) 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 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.

name
string
object

Reference to a Repository in repo to populate repository.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Repository in repo to populate repository.

policy
object
object

Policies for selection.

resolve
string
rules
array
array

(Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema) Rules within the ruleset.

array

(Block List, Max: 1) 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 applied to rulesets with target branch. (see below for nested schema) 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

(Block List, Max: 1) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

name
string
negate
boolean
operator
string
pattern
string
array

(Block List, Max: 1) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

name
string
negate
boolean
operator
string
pattern
string
array

(Block List, Max: 1) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

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

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

array

(Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule.

array

(List of String) The environments that must be successfully deployed to before branches can be merged. The environments that must be successfully deployed to before branches can be merged.

array

(Block List, Max: 1) 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. (see below for nested schema) 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

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema) Status checks that are required. Several can be defined.

array

(Block List, Max: 1) 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 applied to rulesets with target tag. (see below for nested schema) 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

(Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema) The actors that can bypass the rules in this ruleset.

actorId
number
actorType
string
array

(Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema) Parameters for a repository ruleset ref name condition.

refName
array
array

(Block List, Min: 1, Max: 1) (see below for nested schema)

exclude
array
array

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

include
array
array

(List of String) 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 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.

name
string
object

Reference to a Repository in repo to populate repository.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Repository in repo to populate repository.

policy
object
object

Policies for selection.

resolve
string
rules
array
array

(Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema) Rules within the ruleset.

array

(Block List, Max: 1) 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 applied to rulesets with target branch. (see below for nested schema) 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

(Block List, Max: 1) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

name
string
negate
boolean
operator
string
pattern
string
array

(Block List, Max: 1) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

name
string
negate
boolean
operator
string
pattern
string
array

(Block List, Max: 1) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

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

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

array

(Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule.

array

(List of String) The environments that must be successfully deployed to before branches can be merged. The environments that must be successfully deployed to before branches can be merged.

array

(Block List, Max: 1) 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. (see below for nested schema) 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

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema) Status checks that are required. Several can be defined.

array

(Block List, Max: 1) 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 applied to rulesets with target tag. (see below for nested schema) 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

RepositoryRulesetStatus defines the observed state of RepositoryRuleset.

object

No description provided.

array

(Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema) The actors that can bypass the rules in this ruleset.

actorId
number
actorType
string
array

(Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema) Parameters for a repository ruleset ref name condition.

refName
array
array

(Block List, Min: 1, Max: 1) (see below for nested schema)

exclude
array
array

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

include
array
array

(List of String) 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 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.

etag
string
id
string
name
string
nodeId
string
rules
array
array

(Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema) Rules within the ruleset.

array

(Block List, Max: 1) 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 applied to rulesets with target branch. (see below for nested schema) 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

(Block List, Max: 1) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the commit_author_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

name
string
negate
boolean
operator
string
pattern
string
array

(Block List, Max: 1) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the commit_message_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

name
string
negate
boolean
operator
string
pattern
string
array

(Block List, Max: 1) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema) Parameters to be used for the committer_email_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations.

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

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

array

(Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule.

array

(List of String) The environments that must be successfully deployed to before branches can be merged. The environments that must be successfully deployed to before branches can be merged.

array

(Block List, Max: 1) 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. (see below for nested schema) 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

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema) Status checks that are required. Several can be defined.

array

(Block List, Max: 1) 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 applied to rulesets with target tag. (see below for nested schema) 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.