schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
entity.beef-5.json
eventPublish
Defaults to the 'Entity.EventPublish' configuration property (inherits) where not specified. Used to enable the sending of messages to the likes of EventGrid, Service Broker, SignalR, etc.
{"type": "string", "enum": ["None", "DataSvc", "Data"]}
entity.beef-5.json
eventSource
Defaults to 'Entity.EventSource'. Note: when used in code-generation the 'CodeGeneration.EventSourceRoot' will be prepended where specified. To include the entity id/key include a '{$key}' placeholder ('Create', 'Update' or 'Delete' operation only); for example: 'person/{$key}'.
{"type": "string"}
entity.beef-5.json
eventSubject
The event subject template defaults to '{AppName}.{Entity.Name}', plus each of the unique key placeholders comma separated; e.g. 'Domain.Entity.{id1},{id2}' (depending on whether 'Entity.EventSubjectFormat' is 'NameAndKey' or 'NameOnly'). The event action defaults to 'WebApiOperationType' or 'Operation.Type' where not specified. Multiple events can be raised by specifying more than one subject/action pair separated by a semicolon. E.g. 'Demo.Person.{id}:Create;Demo.Other.{id}:Update'.
{"type": "string"}
entity.beef-5.json
webApiAuthorize
Where not specified no attribute output will occur; it will then inherit as supported by .NET.
{"type": "string"}
entity.beef-5.json
webApiMethod
The value defaults as follows: 'HttpGet' for 'Operation.Type' value 'Get' or 'GetColl', 'HttpPost' for 'Operation.Type' value 'Create' or 'Custom', 'HttpPut' for 'Operation.Type' value 'Update', and 'HttpDelete' for 'Operation.Type' value 'Delete'. An 'Operation.Type' value 'Patch' can not be specified and will always default to 'HttpPatch'.
{"type": "string", "enum": ["HttpGet", "HttpPost", "HttpPut", "HttpDelete"]}
entity.beef-5.json
webApiStatus
The value defaults as follows: 'OK' for 'Operation.Type' value 'Get', 'GetColl', 'Update', 'Delete' or 'Custom', 'Created' for 'Operation.Type' value 'Create'.
{"type": "string", "enum": ["OK", "Accepted", "Created", "NoContent", "NotFound"]}
entity.beef-5.json
webApiAlternateStatus
The value defaults as follows: 'NotFound' for 'Operation.Type' value 'Get' and 'NoContent' for 'Operation.Type' value 'GetColl'; otherwise, 'null'.
{"type": "string", "enum": ["OK", "Accepted", "Created", "NoContent", "NotFound"]}
entity.beef-5.json
webApiLocation
This uses similar formatting to the 'WebApiRoute'. The response value is accessed using 'r.' notation to access underlying properties; for example '{r.Id}' or 'person/{r.Id}'. The 'Entity.WebApiRoutePrefix' will be prepended automatically; however, to disable set the first character to '!', e.g. '!person/{r.Id}'. The URI can be inferred from another 'Operation' by using a lookup '^'; for example '^Get' indicates to infer from the named 'Get' operation (where only '^' is specified this is shorthand for '^Get' as this is the most common value). The Location URI will ensure the first character is a '/' so it acts a 'relative URL absolute path'.
{"type": "string"}
entity.beef-5.json
webApiConcurrency
This provides an alternative where the underlying data source does not natively support optimistic concurrency (native support should always be leveraged as a priority). Where the 'Operation.Type' is 'Update' or 'Patch', the request ETag will be matched against the response for a corresponding 'Get' operation to verify no changes have been made prior to updating. For this to function correctly the .NET response Type for the 'Get' must be the same as that returned from the corresponding 'Create', 'Update' and 'Patch' (where applicable) as the generated ETag is a SHA256 hash of the resulting JSON. Defaults to 'Entity.WebApiConcurrency'.
{"type": "boolean"}
entity.beef-5.json
webApiGetOperation
Defaults to 'Get'. Specify either just the method name (e.g. 'OperationName') or, interface and method name (e.g. 'IXxxManager.OperationName') to be invoked where in a different 'YyyManager.OperationName'.
{"type": "string"}
entity.beef-5.json
webApiUpdateOperation
Defaults to 'Update'. Specify either just the method name (e.g. 'OperationName') or, interface and method name (e.g. 'IXxxManager.OperationName') to be invoked where in a different 'YyyManager.OperationName'.
{"type": "string"}
entity.beef-5.json
excludeAll
Is a shorthand means for setting all of the other 'Exclude*' properties to 'true'.
{"type": "boolean"}
entity.beef-5.json
grpc
gRPC support is an explicit opt-in model (see 'CodeGeneration.Grpc' configuration); therefore, each corresponding 'Entity', 'Property' and 'Operation' will also need to be opted-in specifically.
{"type": "boolean"}
entity.beef-5.json
Parameter
The 'Parameter' object defines an 'Operation' parameter and its charateristics.
{"type": "object", "properties": {"name": {"type": "string"}, "text": {"type": "string"}, "type": {"type": "string"}, "nullable": {"type": "boolean"}, "default": {"type": "string"}, "privateName": {"type": "string"}, "argumentName": {"type": "string"}, "property": {"type": "string"}, "refDataType": {"type": "string", "enum": ["string", "int", "Guid"]}, "refDataList": {"type": "boolean"}, "validator": {"type": "string"}, "validatorCode": {"type": "string"}, "validationFramework": {"type": "string", "enum": ["CoreEx", "FluentValidation"]}, "isMandatory": {"type": "boolean"}, "layerPassing": {"type": "string", "enum": ["All", "ToManagerSet", "ToManagerCollSet"]}, "dataConverter": {"type": "string"}, "webApiFrom": {"type": "string", "enum": ["FromQuery", "FromBody", "FromRoute", "FromEntityProperties"]}, "grpcType": {"type": "string"}}, "required": ["name"]}
entity.beef-5.json
text
By default the 'Text' will be the 'Name' reformatted as sentence casing.
{"type": "string"}
entity.beef-5.json
type
Defaults to 'string'. To reference a Reference Data 'Type' always prefix with 'RefDataNamespace' (e.g. 'RefDataNamespace.Gender') or shortcut '^' (e.g. '^Gender'). This will ensure that the appropriate Reference Data 'using' statement is used. _Shortcut:_ Where the 'Type' starts with (prefix) 'RefDataNamespace.' or '^', and the correspondong 'RefDataType' attribute is not specified it will automatically default the 'RefDataType' to 'string.'
{"type": "string"}
entity.beef-5.json
default
Where the 'Type' is 'string' then the specified default value will need to be delimited. Any valid value assignment C# code can be used.
{"type": "string"}
entity.beef-5.json
privateName
Overrides the 'Name' to be used for private fields. By default reformatted from 'Name'; e.g. 'FirstName' as '_firstName'.
{"type": "string"}
entity.beef-5.json
argumentName
Overrides the 'Name' to be used for argument parameters. By default reformatted from 'Name'; e.g. 'FirstName' as 'firstName'.
{"type": "string"}
entity.beef-5.json
refDataType
Defaults to 'string' where not specified and the corresponding 'Type' starts with (prefix) 'RefDataNamespace.'.
{"type": "string", "enum": ["string", "int", "Guid"]}
entity.beef-5.json
refDataList
This is required to enable a list of Reference Data values (as per 'RefDataType') to be passed as an argument for example.
{"type": "boolean"}
entity.beef-5.json
validationFramework
Defaults to 'Operation.ValidationFramework'.
{"type": "string", "enum": ["CoreEx", "FluentValidation"]}
entity.beef-5.json
layerPassing
Defaults to 'All'. To further describe, 'All' passes the parameter through all layeys, 'ToManagerSet' only passes the parameter to the 'Manager' layer and overrides the same named property within the corresponding 'value' parameter, 'ToManagerCollSet' only passes the parameter to the 'Manager' layer and overrides the same named property within the corresponding 'value' collection parameter. Where using the 'PrimaryKey' option to automatically set 'Parameters', and the 'Operation.Type' is 'Create' or 'Update' it will default to 'ToManagerSet'.
{"type": "string", "enum": ["All", "ToManagerSet", "ToManagerCollSet"]}
entity.beef-5.json
dataConverter
A 'Converter' is used to convert a data source value to/from a .NET 'Type' where no standard data conversion can be applied. Where this value is suffixed by '<T>' or '{T}' this will automatically set 'Type'.
{"type": "string"}
entity.beef-5.json
webApiFrom
Defaults to 'FromQuery'; unless the parameter 'Type' has also been defined as an 'Entity' within the code-gen config file then it will default to 'FromEntityProperties'. Specifies that the parameter will be declared with corresponding 'FromQueryAttribute', 'FromBodyAttribute' or 'FromRouteAttribute' for the Web API method. The 'FromEntityProperties' will declare all properties of the 'Entity' as query parameters.
{"type": "string", "enum": ["FromQuery", "FromBody", "FromRoute", "FromEntityProperties"]}
entity.beef-5.json
Const
The 'Const' object is used to define a .NET (C#) constant value for an 'Entity'.
{"type": "object", "properties": {"name": {"type": "string"}, "value": {"type": "string"}, "text": {"type": "string"}}, "required": ["name", "value"]}
entity.beef-5.json
value
The code generation will ensure the value is delimited properly to output correctly formed (delimited) .NET (C#) code.
{"type": "string"}
entity.beef-5.json
text
By default the 'Text' will be the 'Name' reformatted as sentence casing. It will be formatted as: 'Represents a {text} constant value.' To create a '<see cref="XXX"/>' within use moustache shorthand (e.g. '{{Xxx}}').
{"type": "string"}
rancher-fleet.json
The driving file of a Fleet bundle
{"$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": {"selector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": ["object", "null"]}, "diff": {"properties": {"comparePatches": {"items": {"properties": {"apiVersion": {"type": "string"}, "jsonPointers": {"items": {"type": "string"}, "type": "array"}, "kind": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}, "operations": {"items": {"properties": {"op": {"type": "string"}, "path": {"type": "string"}, "value": {"type": "string"}}, "type": "object"}, "type": "array"}}, "type": "object"}, "type": "array"}}, "type": "object"}, "helm": {"properties": {"atomic": {"type": "boolean"}, "chart": {"type": "string"}, "force": {"type": "boolean"}, "maxHistory": {"type": "integer"}, "releaseName": {"type": "string", "maxLength": 53, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"}, "repo": {"examples": ["https://charts.rancher.io"], "type": "string"}, "takeOwnership": {"default": false, "type": "boolean"}, "timeoutSeconds": {"type": "integer"}, "values": {"examples": ["{\"replicaCount\": 2}", "{\"replicaCount\": 2, \"image\": {\"tag\": \"v1.0.0\"}}"], "type": "object"}, "valuesFiles": {"items": {"type": "string"}, "type": "array"}, "valuesFrom": {"items": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "type": "object"}}, "type": "object"}, "type": "array"}, "version": {"type": "string"}}, "type": ["object", "null"]}, "kustomize": {"properties": {"dir": {"type": "string"}}, "type": ["object", "null"]}}, "properties": {"defaultNamespace": {}, "dependsOn": {"items": {"properties": {"name": {"type": "string"}, "selector": {}}, "type": "object"}, "type": ["array", "null"]}, "diff": {}, "helm": {}, "kustomize": {}, "labels": {}, "namespace": {}, "paused": {}, "rolloutStrategy": {"properties": {"autoPartitionSize": {"type": "string"}, "maxUnavailable": {"type": "string"}, "maxUnavailablePartitions": {"type": "string"}, "partitions": {"items": {"properties": {"clusterGroup": {"type": "string"}, "clusterGroupSelector": {}, "clusterName": {"type": "string"}, "clusterSelector": {}, "maxUnavailable": {"type": "string"}, "name": {"type": "string"}}, "type": "object"}, "type": "array"}}, "type": ["object", "null"]}, "serviceAccount": {}, "targetCustomizations": {"items": {"properties": {"clusterGroup": {"type": "string"}, "clusterGroupSelector": {}, "clusterSelector": {}, "defaultNamespace": {"type": "string"}, "diff": {}, "helm": {}, "kustomize": {}, "name": {"type": "string"}, "namespace": {"type": "string"}, "serviceAccount": {"type": "string"}, "yaml": {"properties": {"overlays": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}}, "type": "object"}, "type": ["array", "null"]}, "imageScans": {"items": {"properties": {"image": {"type": "string"}, "interval": {"examples": ["5m"], "type": "string"}, "policy": {"properties": {"alphabetical": {"properties": {"order": {"type": "string"}}, "type": "object"}, "semver": {"properties": {"range": {"type": "string"}}, "type": "object"}}, "type": "object"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "tagName": {"type": "string"}}, "type": "object"}, "type": ["array", "null"]}}, "type": "object"}
rancher-fleet.json
selector
A selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty selector matches all objects
{"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": ["object", "null"]}
rancher-fleet.json
matchExpressions
matchExpressions is An array of label selector requirements. The requirements are ANDed
{"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}, "type": "array"}
rancher-fleet.json
key
key is the label key that the selector applies to
{"type": "string"}
rancher-fleet.json
operator
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist
{"type": "string"}
rancher-fleet.json
values
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty
{"items": {"type": "string"}, "type": "array"}
rancher-fleet.json
items
The value of the label that must be compared to according to the selected operator
{"type": "string"}
rancher-fleet.json
matchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed
{"additionalProperties": {"type": "string"}, "type": "object"}
rancher-fleet.json
diff
An array of diff options to consider when comparing the current state of the bundle to the desired one.
{"properties": {"comparePatches": {"items": {"properties": {"apiVersion": {"type": "string"}, "jsonPointers": {"items": {"type": "string"}, "type": "array"}, "kind": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}, "operations": {"items": {"properties": {"op": {"type": "string"}, "path": {"type": "string"}, "value": {"type": "string"}}, "type": "object"}, "type": "array"}}, "type": "object"}, "type": "array"}}, "type": "object"}
rancher-fleet.json
comparePatches
An array of compare patches; how the diff should be calculated and eventually ignored. See ref: https://fleet.rancher.io/next/ref-crds#comparepatch
{"items": {"properties": {"apiVersion": {"type": "string"}, "jsonPointers": {"items": {"type": "string"}, "type": "array"}, "kind": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}, "operations": {"items": {"properties": {"op": {"type": "string"}, "path": {"type": "string"}, "value": {"type": "string"}}, "type": "object"}, "type": "array"}}, "type": "object"}, "type": "array"}
rancher-fleet.json
apiVersion
The apiVersion of the resource to compare
{"type": "string"}
rancher-fleet.json
jsonPointers
An array of custom JSONPointers. See ref: https://jsonpatch.com/#json-pointer
{"items": {"type": "string"}, "type": "array"}
rancher-fleet.json
kind
The kind of the resource to compare
{"type": "string"}
rancher-fleet.json
name
The name of the resource to compare
{"type": "string"}
rancher-fleet.json
namespace
The namespace of the resource to compare
{"type": "string"}
rancher-fleet.json
operations
An array of operations to consider when comparing the current state of the resource to the desired one. See example: https://fleet.rancher.io/next/bundle-diffs#combining-it-all-together
{"items": {"properties": {"op": {"type": "string"}, "path": {"type": "string"}, "value": {"type": "string"}}, "type": "object"}, "type": "array"}
rancher-fleet.json
op
The operation to perform. See ref: https://jsonpatch.com/#operations
{"type": "string"}
rancher-fleet.json
path
The path to the field to compare. See ref: https://jsonpatch.com/#json-pointer
{"type": "string"}
rancher-fleet.json
value
The value to add or replace
{"type": "string"}
rancher-fleet.json
atomic
Set the Helm --atomic flag when upgrading. Default: false
{"type": "boolean"}
rancher-fleet.json
chart
Use a custom location for the Helm chart. This can refer to any go-getter URL, OCI registry based helm chart URL e.g. "oci://ghcr.io/fleetrepoci/guestbook" or a local/remote tgz file. This allows one to download charts from most any location. Also know that go-getter URL supports adding a digest to validate the download. If repo is set below this field is the name of the chart to lookup
{"type": "string"}
rancher-fleet.json
force
Set the Helm --force flag when upgrading. This could be dangerous (sic). Default: false
{"type": "boolean"}
rancher-fleet.json
maxHistory
Set the Helm --max-history flag when upgrading
{"type": "integer"}
rancher-fleet.json
releaseName
A custom release name to deploy the chart as. If not specified a release name will be generated by combining the invoking GitRepo.name + GitRepo.path
{"type": "string", "maxLength": 53, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"}
rancher-fleet.json
repo
A https URL to a Helm repo to download the chart from. If repo is used the value of `chart` will be used as the chart name to lookup in the Helm repository
{"examples": ["https://charts.rancher.io"], "type": "string"}
rancher-fleet.json
takeOwnership
Makes helm skip the check for its own annotations. Defailt: false
{"default": false, "type": "boolean"}
rancher-fleet.json
timeoutSeconds
Set the Helm --timeout flag when upgrading.
{"type": "integer"}
rancher-fleet.json
values
Any values that should be placed in the `values.yaml` and passed to helm during install. Cluster labels can also be used here, see https://fleet.rancher.io/next/gitrepo-structure#reference for more info
{"examples": ["{\"replicaCount\": 2}", "{\"replicaCount\": 2, \"image\": {\"tag\": \"v1.0.0\"}}"], "type": "object"}
rancher-fleet.json
valuesFiles
Path to any values files that need to be passed to helm during install
{"items": {"type": "string"}, "type": "array"}
rancher-fleet.json
items
Path to the value file
{"type": "string"}
rancher-fleet.json
valuesFrom
An array of of configmap or secrets references defined in the downstream clusters to get values for the chart.
{"items": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "type": "object"}}, "type": "object"}, "type": "array"}
rancher-fleet.json
configMapKeyRef
A reference to a configmap key
{"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "type": "object"}
rancher-fleet.json
key
The key to get from the configmap
{"type": "string"}
rancher-fleet.json
name
The name of the configmap
{"type": "string"}
rancher-fleet.json
namespace
The namespace of the configmap
{"type": "string"}
rancher-fleet.json
secretKeyRef
A reference to a secret key
{"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "namespace": {"type": "string"}}, "type": "object"}
rancher-fleet.json
key
The key to get from the secret
{"type": "string"}
rancher-fleet.json
name
The name of the secret
{"type": "string"}
rancher-fleet.json
namespace
The namespace of the secret
{"type": "string"}
rancher-fleet.json
version
The version of the chart or semver constraint of the chart to find. If a constraint is specified it is evaluated each time git changes. The version also determines which chart to download from OCI registries
{"type": "string"}
rancher-fleet.json
dir
Custom folder for kustomize resources. This folder must contain a kustomization.yaml file. Path is relative to repository root
{"type": "string"}
rancher-fleet.json
defaultNamespace
The default namespace to be applied to resources. This field is not used to enforce or lock down the deployment to a specific namespace, but instead provide the default value of the namespace field if one is not specified in the manifests. Default: default
{}
rancher-fleet.json
dependsOn
An array of dependencies to other Bundles.
{"items": {"properties": {"name": {"type": "string"}, "selector": {}}, "type": "object"}, "type": ["array", "null"]}
rancher-fleet.json
name
Format: <GITREPO-NAME>-<BUNDLE_PATH> with all path separators replaced by "-". Example: A Gitrepo named "one", with a Bundle path "/multi-cluster/hello-world" => "one-multi-cluster-hello-world"
{"type": "string"}
rancher-fleet.json
helm
Helm overrides for the bundle. When changes are applied to the values.yaml from multiple sources at the same time, the values will update in the following order: helm.values -> helm.valuesFiles -> helm.valuesFrom
{}
rancher-fleet.json
kustomize
Kustomize options for the bundle.
{}
rancher-fleet.json
labels
Labels to apply to the bundle. These labels can be used to select bundles by using the dependsOn keyword
{}
rancher-fleet.json
namespace
All resources will be assigned to this namespace and if any cluster scoped resource exists the deployment will fail. Default: ""
{}
rancher-fleet.json
paused
A paused bundle will not update downstream clusters but instead mark the bundle as OutOfSync. One can then manually confirm that a bundle should be deployed to the downstream clusters. Default: false
{}
rancher-fleet.json
autoPartitionSize
A number of percentage of how to automatically partition clusters if not specific partitioning strategy is configured. Default: 25%
{"type": "string"}
rancher-fleet.json
maxUnavailable
A number or percentage of clusters that can be unavailable during an update of a bundle. This follows the same basic approach as a deployment rollout strategy. Once the number of clusters meets unavailable state update will be paused. Default value is 100% which doesn't take effect on update. Default: 100%
{"type": "string"}
rancher-fleet.json
maxUnavailablePartitions
A number or percentage of cluster partitions that can be unavailable during an update of a bundle. Default: 0
{"type": "string"}
rancher-fleet.json
partitions
An array of definitions of partitions. If any target clusters do not match the configuration they are added to partitions at the end following the autoPartitionSize
{"items": {"properties": {"clusterGroup": {"type": "string"}, "clusterGroupSelector": {}, "clusterName": {"type": "string"}, "clusterSelector": {}, "maxUnavailable": {"type": "string"}, "name": {"type": "string"}}, "type": "object"}, "type": "array"}
rancher-fleet.json
clusterGroup
A cluster group name to include in this partition
{"type": "string"}
rancher-fleet.json
clusterGroupSelector
Selector matching cluster group labels to include in this partition
{}
rancher-fleet.json
clusterName
A cluster name to include in this partition
{"type": "string"}
rancher-fleet.json
clusterSelector
Selector matching cluster labels to include in this partition
{}
rancher-fleet.json
maxUnavailable
A number or percentage of clusters that can be unavailable in this partition before this partition is treated as done.Default: 10%
{"type": "string"}
rancher-fleet.json
name
A user friend name given to the partition used for Display (optional). Default: ""
{"type": "string"}
rancher-fleet.json
serviceAccount
The Service account which will be used for the BundleDeployments. Default: ""
{}
rancher-fleet.json
targetCustomizations
Target customization are used to determine how resources should be modified per target. Targets are evaluated in order and the first one to match a cluster is used for that cluster
{"items": {"properties": {"clusterGroup": {"type": "string"}, "clusterGroupSelector": {}, "clusterSelector": {}, "defaultNamespace": {"type": "string"}, "diff": {}, "helm": {}, "kustomize": {}, "name": {"type": "string"}, "namespace": {"type": "string"}, "serviceAccount": {"type": "string"}, "yaml": {"properties": {"overlays": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}}, "type": "object"}, "type": ["array", "null"]}
rancher-fleet.json
clusterGroup
A cluster group name to select
{"type": "string"}
rancher-fleet.json
clusterGroupSelector
Selector matching cluster group labels to select
{}
rancher-fleet.json
clusterSelector
Selector matching cluster labels to select
{}
rancher-fleet.json
defaultNamespace
Custom defaultNamespace value overriding the value at the root
{"type": "string"}
rancher-fleet.json
helm
Custom helm options overriding the options at the root
{}
rancher-fleet.json
kustomize
Custom kustomize options overriding the options at the root
{}
rancher-fleet.json
name
The name of target. If not specified a default name of the format "target000" will be used. This value is mostly for display
{"type": "string"}
rancher-fleet.json
namespace
Custom namespace value overriding the value at the root
{"type": "string"}
rancher-fleet.json
serviceAccount
Custom serviceAccount value overriding the value at the root
{"type": "string"}
rancher-fleet.json
yaml
If using raw YAML these are names that map to overlays/{name} that will be used to replace or patch a resource. If you wish to customize the file ./subdir/resource.yaml then a file ./overlays/myoverlay/subdir/resource.yaml will replace the base file. A file named ./overlays/myoverlay/subdir/resource_patch.yaml will patch the base file. A patch can in JSON Patch or JSON Merge format or a strategic merge patch for builtin Kubernetes types. Refer to "Raw YAML Resource Customization" (https://fleet.rancher.io/next/gitrepo-structure#raw-yaml-resource-customization) for more information
{"properties": {"overlays": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}
rancher-fleet.json
overlays
An array of overlays to apply to the resource. The overlays are applied in the order they are listed
{"items": {"type": "string"}, "type": "array"}