ApplicationSet
/gitops/v1/project/{project}/applicationsets
get List applicationsets in a project
Parameters
Authorization(in header):stringGiven Bearer token will use this as authorization for the API
project(in path):stringrequiredproject name
filter(in query):stringlist filter
limit(in query):numberlist limit
continue(in query):stringlist continue
Response
200ApplicationSetList: success
post Create an applicationset in a project
Parameters
Authorization(in header):stringGiven Bearer token will use this as authorization for the API
project(in path):stringrequiredproject name
Request Body
ApplicationSetrequired
Response
201ApplicationSet: success
ApplicationSetList
apiVersion:stringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
items:[]ApplicationSetkind:stringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata: ListMetaListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
ApplicationSet
apiVersion:stringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind:stringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata: ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec: ApplicationSetSpecstatus: ApplicationSetStatus
ApplicationSetSpec
applyNestedSelectors:booleangenerators:[]ApplicationSetGeneratorgoTemplate:booleangoTemplateOptions:[]stringignoreApplicationDifferences:[]ApplicationSetResourceIgnoreDifferencespreservedFields: ApplicationPreservedFieldsstrategy: ApplicationSetStrategysyncPolicy: ApplicationSetSyncPolicytemplate: ApplicationSetTemplatetemplatePatch:string
ApplicationSetGenerator
clusterDecisionResource: DuckTypeGeneratorclusters: ClusterGeneratorgit: GitGeneratorlist: ListGeneratormatrix: MatrixGeneratormerge: MergeGeneratorplugin: PluginGeneratorpullRequest: PullRequestGeneratorscmProvider: SCMProviderGeneratorselector: LabelSelectorA label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
DuckTypeGenerator
configMapRef:stringlabelSelector: LabelSelectorA label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
name:stringrequeueAfterSeconds:integertemplate: ApplicationSetTemplatevalues:map[string]string
LabelSelector
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
matchExpressions:[]LabelSelectorRequirementmatchExpressions is a list of label selector requirements. The requirements are ANDed.
matchLabels:map[string]stringmatchLabels 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.
LabelSelectorRequirement
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
key:stringkey is the label key that the selector applies to.
operator:stringoperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
values:[]stringvalues 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. This array is replaced during a strategic merge patch.
ApplicationSetTemplate
metadata: ApplicationSetTemplateMetaspec: ApplicationSpec
ApplicationSetTemplateMeta
annotations:map[string]stringfinalizers:[]stringlabels:map[string]stringname:stringnamespace:string
ApplicationSpec
destination: ApplicationDestinationignoreDifferences:[]ResourceIgnoreDifferencesinfo:[]Infoproject:stringrevisionHistoryLimit:integersource: ApplicationSourcesourceHydrator: SourceHydratorsources:[]ApplicationSourcesyncPolicy: SyncPolicy
ApplicationDestination
name:stringnamespace:stringserver:string
ResourceIgnoreDifferences
group:stringjqPathExpressions:[]stringjsonPointers:[]stringkind:stringmanagedFieldsManagers:[]stringname:stringnamespace:string
Info
name:stringvalue:string
ApplicationSource
chart:stringdirectory: ApplicationSourceDirectoryhelm: ApplicationSourceHelmkustomize: ApplicationSourceKustomizename:stringpath:stringplugin: ApplicationSourcePluginref:stringrepoURL:stringtargetRevision:string
ApplicationSourceDirectory
exclude:stringinclude:stringjsonnet: ApplicationSourceJsonnetrecurse:boolean
ApplicationSourceJsonnet
extVars:[]JsonnetVarlibs:[]stringtlas:[]JsonnetVar
JsonnetVar
code:booleanname:stringvalue:string
ApplicationSourceHelm
apiVersions:[]stringfileParameters:[]HelmFileParameterignoreMissingValueFiles:booleankubeVersion:stringnamespace:stringparameters:[]HelmParameterpassCredentials:booleanreleaseName:stringskipCrds:booleanskipSchemaValidation:booleanskipTests:booleanvalueFiles:[]stringvalues:stringvaluesObject:stringversion:string
HelmFileParameter
name:stringpath:string
HelmParameter
forceString:booleanname:stringvalue:string
ApplicationSourceKustomize
apiVersions:[]stringcommonAnnotations:map[string]stringcommonAnnotationsEnvsubst:booleancommonLabels:map[string]stringcomponents:[]stringforceCommonAnnotations:booleanforceCommonLabels:booleanimages:[]stringkubeVersion:stringlabelWithoutSelector:booleannamePrefix:stringnameSuffix:stringnamespace:stringpatches:[]KustomizePatchreplicas:[]KustomizeReplicaversion:string
KustomizePatch
options:map[string]booleanpatch:stringpath:stringtarget: KustomizeSelector
KustomizeSelector
annotationSelector:stringgroup:stringkind:stringlabelSelector:stringname:stringnamespace:stringversion:string
KustomizeReplica
count:stringname:string
ApplicationSourcePlugin
env:[]EnvEntryname:stringparameters:[]ApplicationSourcePluginParameter
EnvEntry
name:stringvalue:string
ApplicationSourcePluginParameter
OptionalArray: OptionalArrayOptionalMap: OptionalMapname:stringstring:string
OptionalArray
array:[]string
OptionalMap
map:map[string]string
SourceHydrator
drySource: DrySourcehydrateTo: HydrateTosyncSource: SyncSource
DrySource
path:stringrepoURL:stringtargetRevision:string
HydrateTo
targetBranch:string
SyncSource
path:stringtargetBranch:string
SyncPolicy
automated: SyncPolicyAutomatedmanagedNamespaceMetadata: ManagedNamespaceMetadataretry: RetryStrategysyncOptions:[]string
SyncPolicyAutomated
allowEmpty:booleanprune:booleanselfHeal:boolean
ManagedNamespaceMetadata
annotations:map[string]stringlabels:map[string]string
RetryStrategy
backoff: Backofflimit:integer
Backoff
duration:stringfactor:integermaxDuration:string
ClusterGenerator
flatList:booleanselector: LabelSelectorA label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
template: ApplicationSetTemplatevalues:map[string]string
GitGenerator
directories:[]GitDirectoryGeneratorItemfiles:[]GitFileGeneratorItempathParamPrefix:stringrepoURL:stringrequeueAfterSeconds:integerrevision:stringtemplate: ApplicationSetTemplatevalues:map[string]string
GitDirectoryGeneratorItem
exclude:booleanpath:string
GitFileGeneratorItem
path:string
ListGenerator
elements:[]JSONelementsYaml:stringtemplate: ApplicationSetTemplate
JSON
MatrixGenerator
generators:[]ApplicationSetNestedGeneratortemplate: ApplicationSetTemplate
ApplicationSetNestedGenerator
clusterDecisionResource: DuckTypeGeneratorclusters: ClusterGeneratorgit: GitGeneratorlist: ListGeneratormatrix:stringmerge:stringplugin: PluginGeneratorpullRequest: PullRequestGeneratorscmProvider: SCMProviderGeneratorselector: LabelSelectorA label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
PluginGenerator
configMapRef: PluginConfigMapRefinput: PluginInputrequeueAfterSeconds:integertemplate: ApplicationSetTemplatevalues:map[string]string
PluginConfigMapRef
name:string
PluginInput
parameters:map[string]JSON
PullRequestGenerator
azuredevops: PullRequestGeneratorAzureDevOpsbitbucket: PullRequestGeneratorBitbucketbitbucketServer: PullRequestGeneratorBitbucketServerfilters:[]PullRequestGeneratorFiltergitea: PullRequestGeneratorGiteagithub: PullRequestGeneratorGithubgitlab: PullRequestGeneratorGitLabrequeueAfterSeconds:integertemplate: ApplicationSetTemplate
PullRequestGeneratorAzureDevOps
api:stringlabels:[]stringorganization:stringproject:stringrepo:stringtokenRef: SecretRef
SecretRef
key:stringsecretName:string
PullRequestGeneratorBitbucket
api:stringbasicAuth: BasicAuthBitbucketServerbearerToken: BearerTokenBitbucketCloudowner:stringrepo:string
BasicAuthBitbucketServer
passwordRef: SecretRefusername:string
BearerTokenBitbucketCloud
tokenRef: SecretRef
PullRequestGeneratorBitbucketServer
api:stringbasicAuth: BasicAuthBitbucketServerbearerToken: BearerTokenBitbucketcaRef: ConfigMapKeyRefinsecure:booleanproject:stringrepo:string
BearerTokenBitbucket
tokenRef: SecretRef
ConfigMapKeyRef
configMapName:stringkey:string
PullRequestGeneratorFilter
branchMatch:stringtargetBranchMatch:string
PullRequestGeneratorGitea
api:stringinsecure:booleanowner:stringrepo:stringtokenRef: SecretRef
PullRequestGeneratorGithub
api:stringappSecretName:stringlabels:[]stringowner:stringrepo:stringtokenRef: SecretRef
PullRequestGeneratorGitLab
api:stringcaRef: ConfigMapKeyRefinsecure:booleanlabels:[]stringproject:stringpullRequestState:stringtokenRef: SecretRef
SCMProviderGenerator
awsCodeCommit: SCMProviderGeneratorAWSCodeCommitazureDevOps: SCMProviderGeneratorAzureDevOpsbitbucket: SCMProviderGeneratorBitbucketbitbucketServer: SCMProviderGeneratorBitbucketServercloneProtocol:stringfilters:[]SCMProviderGeneratorFiltergitea: SCMProviderGeneratorGiteagithub: SCMProviderGeneratorGithubgitlab: SCMProviderGeneratorGitlabrequeueAfterSeconds:integertemplate: ApplicationSetTemplatevalues:map[string]string
SCMProviderGeneratorAWSCodeCommit
allBranches:booleanregion:stringrole:stringtagFilters:[]TagFilter
TagFilter
key:stringvalue:string
SCMProviderGeneratorAzureDevOps
accessTokenRef: SecretRefallBranches:booleanapi:stringorganization:stringteamProject:string
SCMProviderGeneratorBitbucket
allBranches:booleanappPasswordRef: SecretRefowner:stringuser:string
SCMProviderGeneratorBitbucketServer
allBranches:booleanapi:stringbasicAuth: BasicAuthBitbucketServerbearerToken: BearerTokenBitbucketcaRef: ConfigMapKeyRefinsecure:booleanproject:string
SCMProviderGeneratorFilter
branchMatch:stringlabelMatch:stringpathsDoNotExist:[]stringpathsExist:[]stringrepositoryMatch:string
SCMProviderGeneratorGitea
allBranches:booleanapi:stringinsecure:booleanowner:stringtokenRef: SecretRef
SCMProviderGeneratorGithub
allBranches:booleanapi:stringappSecretName:stringorganization:stringtokenRef: SecretRef
SCMProviderGeneratorGitlab
allBranches:booleanapi:stringcaRef: ConfigMapKeyRefgroup:stringincludeSharedProjects:booleanincludeSubgroups:booleaninsecure:booleantokenRef: SecretReftopic:string
MergeGenerator
generators:[]ApplicationSetNestedGeneratormergeKeys:[]stringtemplate: ApplicationSetTemplate
ApplicationSetResourceIgnoreDifferences
jqPathExpressions:[]stringjsonPointers:[]stringname:string
ApplicationPreservedFields
annotations:[]stringlabels:[]string
ApplicationSetStrategy
rollingSync: ApplicationSetRolloutStrategytype:string
ApplicationSetRolloutStrategy
steps:[]ApplicationSetRolloutStep
ApplicationSetRolloutStep
matchExpressions:[]ApplicationMatchExpressionmaxUpdate:string
ApplicationMatchExpression
key:stringoperator:stringvalues:[]string
ApplicationSetSyncPolicy
applicationsSync:stringpreserveResourcesOnDeletion:boolean
ApplicationSetStatus
applicationStatus:[]ApplicationSetApplicationStatusconditions:[]ApplicationSetConditionresources:[]ResourceStatus
ApplicationSetApplicationStatus
application:stringlastTransitionTime:stringmessage:stringstatus:stringstep:stringtargetRevisions:[]string
ApplicationSetCondition
lastTransitionTime:stringmessage:stringreason:stringstatus:stringtype:string
ResourceStatus
group:stringhealth: HealthStatushook:booleankind:stringname:stringnamespace:stringrequiresDeletionConfirmation:booleanrequiresPruning:booleanstatus:stringsyncWave:integerversion:string
HealthStatus
lastTransitionTime:stringmessage:stringstatus:string
ListMeta
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
continue:stringcontinue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
remainingItemCount:integerremainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.
resourceVersion:stringString that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
selfLink:stringDeprecated: selfLink is a legacy read-only field that is no longer populated by the system.