...

Text file src/github.com/datawire/ambassador/v2/cmd/agent/testdata/argo-application-crd.yaml

Documentation: github.com/datawire/ambassador/v2/cmd/agent/testdata

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  labels:
     5    app.kubernetes.io/name: applications.argoproj.io
     6    app.kubernetes.io/part-of: argocd
     7  name: applications.argoproj.io
     8spec:
     9  group: argoproj.io
    10  names:
    11    kind: Application
    12    listKind: ApplicationList
    13    plural: applications
    14    shortNames:
    15    - app
    16    - apps
    17    singular: application
    18  scope: Namespaced
    19  versions:
    20  - additionalPrinterColumns:
    21    - jsonPath: .status.sync.status
    22      name: Sync Status
    23      type: string
    24    - jsonPath: .status.health.status
    25      name: Health Status
    26      type: string
    27    - jsonPath: .status.sync.revision
    28      name: Revision
    29      priority: 10
    30      type: string
    31    name: v1alpha1
    32    schema:
    33      openAPIV3Schema:
    34        description: Application is a definition of Application resource.
    35        properties:
    36          apiVersion:
    37            description: 'APIVersion 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'
    38            type: string
    39          kind:
    40            description: 'Kind 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'
    41            type: string
    42          metadata:
    43            type: object
    44          operation:
    45            description: Operation contains information about a requested or running operation
    46            properties:
    47              info:
    48                description: Info is a list of informational items for this operation
    49                items:
    50                  properties:
    51                    name:
    52                      type: string
    53                    value:
    54                      type: string
    55                  required:
    56                  - name
    57                  - value
    58                  type: object
    59                type: array
    60              initiatedBy:
    61                description: InitiatedBy contains information about who initiated the operations
    62                properties:
    63                  automated:
    64                    description: Automated is set to true if operation was initiated automatically by the application controller.
    65                    type: boolean
    66                  username:
    67                    description: Username contains the name of a user who started operation
    68                    type: string
    69                type: object
    70              retry:
    71                description: Retry controls the strategy to apply if a sync fails
    72                properties:
    73                  backoff:
    74                    description: Backoff controls how to backoff on subsequent retries of failed syncs
    75                    properties:
    76                      duration:
    77                        description: Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h")
    78                        type: string
    79                      factor:
    80                        description: Factor is a factor to multiply the base duration after each failed retry
    81                        format: int64
    82                        type: integer
    83                      maxDuration:
    84                        description: MaxDuration is the maximum amount of time allowed for the backoff strategy
    85                        type: string
    86                    type: object
    87                  limit:
    88                    description: Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
    89                    format: int64
    90                    type: integer
    91                type: object
    92              sync:
    93                description: Sync contains parameters for the operation
    94                properties:
    95                  dryRun:
    96                    description: DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync
    97                    type: boolean
    98                  manifests:
    99                    description: Manifests is an optional field that overrides sync source with a local directory for development
   100                    items:
   101                      type: string
   102                    type: array
   103                  prune:
   104                    description: Prune specifies to delete resources from the cluster that are no longer tracked in git
   105                    type: boolean
   106                  resources:
   107                    description: Resources describes which resources shall be part of the sync
   108                    items:
   109                      description: SyncOperationResource contains resources to sync.
   110                      properties:
   111                        group:
   112                          type: string
   113                        kind:
   114                          type: string
   115                        name:
   116                          type: string
   117                        namespace:
   118                          type: string
   119                      required:
   120                      - kind
   121                      - name
   122                      type: object
   123                    type: array
   124                  revision:
   125                    description: Revision is the revision (Git) or chart version (Helm) which to sync the application to If omitted, will use the revision specified in app spec.
   126                    type: string
   127                  source:
   128                    description: Source overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation
   129                    properties:
   130                      chart:
   131                        description: Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
   132                        type: string
   133                      directory:
   134                        description: Directory holds path/directory specific options
   135                        properties:
   136                          exclude:
   137                            description: Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
   138                            type: string
   139                          include:
   140                            description: Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
   141                            type: string
   142                          jsonnet:
   143                            description: Jsonnet holds options specific to Jsonnet
   144                            properties:
   145                              extVars:
   146                                description: ExtVars is a list of Jsonnet External Variables
   147                                items:
   148                                  description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
   149                                  properties:
   150                                    code:
   151                                      type: boolean
   152                                    name:
   153                                      type: string
   154                                    value:
   155                                      type: string
   156                                  required:
   157                                  - name
   158                                  - value
   159                                  type: object
   160                                type: array
   161                              libs:
   162                                description: Additional library search dirs
   163                                items:
   164                                  type: string
   165                                type: array
   166                              tlas:
   167                                description: TLAS is a list of Jsonnet Top-level Arguments
   168                                items:
   169                                  description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
   170                                  properties:
   171                                    code:
   172                                      type: boolean
   173                                    name:
   174                                      type: string
   175                                    value:
   176                                      type: string
   177                                  required:
   178                                  - name
   179                                  - value
   180                                  type: object
   181                                type: array
   182                            type: object
   183                          recurse:
   184                            description: Recurse specifies whether to scan a directory recursively for manifests
   185                            type: boolean
   186                        type: object
   187                      helm:
   188                        description: Helm holds helm specific options
   189                        properties:
   190                          fileParameters:
   191                            description: FileParameters are file parameters to the helm template
   192                            items:
   193                              description: HelmFileParameter is a file parameter that's passed to helm template during manifest generation
   194                              properties:
   195                                name:
   196                                  description: Name is the name of the Helm parameter
   197                                  type: string
   198                                path:
   199                                  description: Path is the path to the file containing the values for the Helm parameter
   200                                  type: string
   201                              type: object
   202                            type: array
   203                          parameters:
   204                            description: Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
   205                            items:
   206                              description: HelmParameter is a parameter that's passed to helm template during manifest generation
   207                              properties:
   208                                forceString:
   209                                  description: ForceString determines whether to tell Helm to interpret booleans and numbers as strings
   210                                  type: boolean
   211                                name:
   212                                  description: Name is the name of the Helm parameter
   213                                  type: string
   214                                value:
   215                                  description: Value is the value for the Helm parameter
   216                                  type: string
   217                              type: object
   218                            type: array
   219                          releaseName:
   220                            description: ReleaseName is the Helm release name to use. If omitted it will use the application name
   221                            type: string
   222                          valueFiles:
   223                            description: ValuesFiles is a list of Helm value files to use when generating a template
   224                            items:
   225                              type: string
   226                            type: array
   227                          values:
   228                            description: Values specifies Helm values to be passed to helm template, typically defined as a block
   229                            type: string
   230                          version:
   231                            description: Version is the Helm version to use for templating (either "2" or "3")
   232                            type: string
   233                        type: object
   234                      ksonnet:
   235                        description: Ksonnet holds ksonnet specific options
   236                        properties:
   237                          environment:
   238                            description: Environment is a ksonnet application environment name
   239                            type: string
   240                          parameters:
   241                            description: Parameters are a list of ksonnet component parameter override values
   242                            items:
   243                              description: KsonnetParameter is a ksonnet component parameter
   244                              properties:
   245                                component:
   246                                  type: string
   247                                name:
   248                                  type: string
   249                                value:
   250                                  type: string
   251                              required:
   252                              - name
   253                              - value
   254                              type: object
   255                            type: array
   256                        type: object
   257                      kustomize:
   258                        description: Kustomize holds kustomize specific options
   259                        properties:
   260                          commonAnnotations:
   261                            additionalProperties:
   262                              type: string
   263                            description: CommonAnnotations is a list of additional annotations to add to rendered manifests
   264                            type: object
   265                          commonLabels:
   266                            additionalProperties:
   267                              type: string
   268                            description: CommonLabels is a list of additional labels to add to rendered manifests
   269                            type: object
   270                          images:
   271                            description: Images is a list of Kustomize image override specifications
   272                            items:
   273                              description: KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>
   274                              type: string
   275                            type: array
   276                          namePrefix:
   277                            description: NamePrefix is a prefix appended to resources for Kustomize apps
   278                            type: string
   279                          nameSuffix:
   280                            description: NameSuffix is a suffix appended to resources for Kustomize apps
   281                            type: string
   282                          version:
   283                            description: Version controls which version of Kustomize to use for rendering manifests
   284                            type: string
   285                        type: object
   286                      path:
   287                        description: Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
   288                        type: string
   289                      plugin:
   290                        description: ConfigManagementPlugin holds config management plugin specific options
   291                        properties:
   292                          env:
   293                            description: Env is a list of environment variable entries
   294                            items:
   295                              description: EnvEntry represents an entry in the application's environment
   296                              properties:
   297                                name:
   298                                  description: Name is the name of the variable, usually expressed in uppercase
   299                                  type: string
   300                                value:
   301                                  description: Value is the value of the variable
   302                                  type: string
   303                              required:
   304                              - name
   305                              - value
   306                              type: object
   307                            type: array
   308                          name:
   309                            type: string
   310                        type: object
   311                      repoURL:
   312                        description: RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
   313                        type: string
   314                      targetRevision:
   315                        description: TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
   316                        type: string
   317                    required:
   318                    - repoURL
   319                    type: object
   320                  syncOptions:
   321                    description: SyncOptions provide per-sync sync-options, e.g. Validate=false
   322                    items:
   323                      type: string
   324                    type: array
   325                  syncStrategy:
   326                    description: SyncStrategy describes how to perform the sync
   327                    properties:
   328                      apply:
   329                        description: Apply will perform a `kubectl apply` to perform the sync.
   330                        properties:
   331                          force:
   332                            description: Force indicates whether or not to supply the --force flag to `kubectl apply`. The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times.
   333                            type: boolean
   334                        type: object
   335                      hook:
   336                        description: Hook will submit any referenced resources to perform the sync. This is the default strategy
   337                        properties:
   338                          force:
   339                            description: Force indicates whether or not to supply the --force flag to `kubectl apply`. The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times.
   340                            type: boolean
   341                        type: object
   342                    type: object
   343                type: object
   344            type: object
   345          spec:
   346            description: ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.
   347            properties:
   348              destination:
   349                description: Destination is a reference to the target Kubernetes server and namespace
   350                properties:
   351                  name:
   352                    description: Name is an alternate way of specifying the target cluster by its symbolic name
   353                    type: string
   354                  namespace:
   355                    description: Namespace specifies the target namespace for the application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace
   356                    type: string
   357                  server:
   358                    description: Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API
   359                    type: string
   360                type: object
   361              ignoreDifferences:
   362                description: IgnoreDifferences is a list of resources and their fields which should be ignored during comparison
   363                items:
   364                  description: ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.
   365                  properties:
   366                    group:
   367                      type: string
   368                    jsonPointers:
   369                      items:
   370                        type: string
   371                      type: array
   372                    kind:
   373                      type: string
   374                    name:
   375                      type: string
   376                    namespace:
   377                      type: string
   378                  required:
   379                  - jsonPointers
   380                  - kind
   381                  type: object
   382                type: array
   383              info:
   384                description: Info contains a list of information (URLs, email addresses, and plain text) that relates to the application
   385                items:
   386                  properties:
   387                    name:
   388                      type: string
   389                    value:
   390                      type: string
   391                  required:
   392                  - name
   393                  - value
   394                  type: object
   395                type: array
   396              project:
   397                description: Project is a reference to the project this application belongs to. The empty string means that application belongs to the 'default' project.
   398                type: string
   399              revisionHistoryLimit:
   400                description: RevisionHistoryLimit limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
   401                format: int64
   402                type: integer
   403              source:
   404                description: Source is a reference to the location of the application's manifests or chart
   405                properties:
   406                  chart:
   407                    description: Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
   408                    type: string
   409                  directory:
   410                    description: Directory holds path/directory specific options
   411                    properties:
   412                      exclude:
   413                        description: Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
   414                        type: string
   415                      include:
   416                        description: Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
   417                        type: string
   418                      jsonnet:
   419                        description: Jsonnet holds options specific to Jsonnet
   420                        properties:
   421                          extVars:
   422                            description: ExtVars is a list of Jsonnet External Variables
   423                            items:
   424                              description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
   425                              properties:
   426                                code:
   427                                  type: boolean
   428                                name:
   429                                  type: string
   430                                value:
   431                                  type: string
   432                              required:
   433                              - name
   434                              - value
   435                              type: object
   436                            type: array
   437                          libs:
   438                            description: Additional library search dirs
   439                            items:
   440                              type: string
   441                            type: array
   442                          tlas:
   443                            description: TLAS is a list of Jsonnet Top-level Arguments
   444                            items:
   445                              description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
   446                              properties:
   447                                code:
   448                                  type: boolean
   449                                name:
   450                                  type: string
   451                                value:
   452                                  type: string
   453                              required:
   454                              - name
   455                              - value
   456                              type: object
   457                            type: array
   458                        type: object
   459                      recurse:
   460                        description: Recurse specifies whether to scan a directory recursively for manifests
   461                        type: boolean
   462                    type: object
   463                  helm:
   464                    description: Helm holds helm specific options
   465                    properties:
   466                      fileParameters:
   467                        description: FileParameters are file parameters to the helm template
   468                        items:
   469                          description: HelmFileParameter is a file parameter that's passed to helm template during manifest generation
   470                          properties:
   471                            name:
   472                              description: Name is the name of the Helm parameter
   473                              type: string
   474                            path:
   475                              description: Path is the path to the file containing the values for the Helm parameter
   476                              type: string
   477                          type: object
   478                        type: array
   479                      parameters:
   480                        description: Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
   481                        items:
   482                          description: HelmParameter is a parameter that's passed to helm template during manifest generation
   483                          properties:
   484                            forceString:
   485                              description: ForceString determines whether to tell Helm to interpret booleans and numbers as strings
   486                              type: boolean
   487                            name:
   488                              description: Name is the name of the Helm parameter
   489                              type: string
   490                            value:
   491                              description: Value is the value for the Helm parameter
   492                              type: string
   493                          type: object
   494                        type: array
   495                      releaseName:
   496                        description: ReleaseName is the Helm release name to use. If omitted it will use the application name
   497                        type: string
   498                      valueFiles:
   499                        description: ValuesFiles is a list of Helm value files to use when generating a template
   500                        items:
   501                          type: string
   502                        type: array
   503                      values:
   504                        description: Values specifies Helm values to be passed to helm template, typically defined as a block
   505                        type: string
   506                      version:
   507                        description: Version is the Helm version to use for templating (either "2" or "3")
   508                        type: string
   509                    type: object
   510                  ksonnet:
   511                    description: Ksonnet holds ksonnet specific options
   512                    properties:
   513                      environment:
   514                        description: Environment is a ksonnet application environment name
   515                        type: string
   516                      parameters:
   517                        description: Parameters are a list of ksonnet component parameter override values
   518                        items:
   519                          description: KsonnetParameter is a ksonnet component parameter
   520                          properties:
   521                            component:
   522                              type: string
   523                            name:
   524                              type: string
   525                            value:
   526                              type: string
   527                          required:
   528                          - name
   529                          - value
   530                          type: object
   531                        type: array
   532                    type: object
   533                  kustomize:
   534                    description: Kustomize holds kustomize specific options
   535                    properties:
   536                      commonAnnotations:
   537                        additionalProperties:
   538                          type: string
   539                        description: CommonAnnotations is a list of additional annotations to add to rendered manifests
   540                        type: object
   541                      commonLabels:
   542                        additionalProperties:
   543                          type: string
   544                        description: CommonLabels is a list of additional labels to add to rendered manifests
   545                        type: object
   546                      images:
   547                        description: Images is a list of Kustomize image override specifications
   548                        items:
   549                          description: KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>
   550                          type: string
   551                        type: array
   552                      namePrefix:
   553                        description: NamePrefix is a prefix appended to resources for Kustomize apps
   554                        type: string
   555                      nameSuffix:
   556                        description: NameSuffix is a suffix appended to resources for Kustomize apps
   557                        type: string
   558                      version:
   559                        description: Version controls which version of Kustomize to use for rendering manifests
   560                        type: string
   561                    type: object
   562                  path:
   563                    description: Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
   564                    type: string
   565                  plugin:
   566                    description: ConfigManagementPlugin holds config management plugin specific options
   567                    properties:
   568                      env:
   569                        description: Env is a list of environment variable entries
   570                        items:
   571                          description: EnvEntry represents an entry in the application's environment
   572                          properties:
   573                            name:
   574                              description: Name is the name of the variable, usually expressed in uppercase
   575                              type: string
   576                            value:
   577                              description: Value is the value of the variable
   578                              type: string
   579                          required:
   580                          - name
   581                          - value
   582                          type: object
   583                        type: array
   584                      name:
   585                        type: string
   586                    type: object
   587                  repoURL:
   588                    description: RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
   589                    type: string
   590                  targetRevision:
   591                    description: TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
   592                    type: string
   593                required:
   594                - repoURL
   595                type: object
   596              syncPolicy:
   597                description: SyncPolicy controls when and how a sync will be performed
   598                properties:
   599                  automated:
   600                    description: Automated will keep an application synced to the target revision
   601                    properties:
   602                      allowEmpty:
   603                        description: 'AllowEmpty allows apps have zero live resources (default: false)'
   604                        type: boolean
   605                      prune:
   606                        description: 'Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)'
   607                        type: boolean
   608                      selfHeal:
   609                        description: 'SelfHeal specifes whether to revert resources back to their desired state upon modification in the cluster (default: false)'
   610                        type: boolean
   611                    type: object
   612                  retry:
   613                    description: Retry controls failed sync retry behavior
   614                    properties:
   615                      backoff:
   616                        description: Backoff controls how to backoff on subsequent retries of failed syncs
   617                        properties:
   618                          duration:
   619                            description: Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h")
   620                            type: string
   621                          factor:
   622                            description: Factor is a factor to multiply the base duration after each failed retry
   623                            format: int64
   624                            type: integer
   625                          maxDuration:
   626                            description: MaxDuration is the maximum amount of time allowed for the backoff strategy
   627                            type: string
   628                        type: object
   629                      limit:
   630                        description: Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
   631                        format: int64
   632                        type: integer
   633                    type: object
   634                  syncOptions:
   635                    description: Options allow you to specify whole app sync-options
   636                    items:
   637                      type: string
   638                    type: array
   639                type: object
   640            required:
   641            - destination
   642            - project
   643            - source
   644            type: object
   645          status:
   646            description: ApplicationStatus contains status information for the application
   647            properties:
   648              conditions:
   649                description: Conditions is a list of currently observed application conditions
   650                items:
   651                  description: ApplicationCondition contains details about an application condition, which is usally an error or warning
   652                  properties:
   653                    lastTransitionTime:
   654                      description: LastTransitionTime is the time the condition was last observed
   655                      format: date-time
   656                      type: string
   657                    message:
   658                      description: Message contains human-readable message indicating details about condition
   659                      type: string
   660                    type:
   661                      description: Type is an application condition type
   662                      type: string
   663                  required:
   664                  - message
   665                  - type
   666                  type: object
   667                type: array
   668              health:
   669                description: Health contains information about the application's current health status
   670                properties:
   671                  message:
   672                    description: Message is a human-readable informational message describing the health status
   673                    type: string
   674                  status:
   675                    description: Status holds the status code of the application or resource
   676                    type: string
   677                type: object
   678              history:
   679                description: History contains information about the application's sync history
   680                items:
   681                  description: RevisionHistory contains history information about a previous sync
   682                  properties:
   683                    deployStartedAt:
   684                      description: DeployStartedAt holds the time the sync operation started
   685                      format: date-time
   686                      type: string
   687                    deployedAt:
   688                      description: DeployedAt holds the time the sync operation completed
   689                      format: date-time
   690                      type: string
   691                    id:
   692                      description: ID is an auto incrementing identifier of the RevisionHistory
   693                      format: int64
   694                      type: integer
   695                    revision:
   696                      description: Revision holds the revision the sync was performed against
   697                      type: string
   698                    source:
   699                      description: Source is a reference to the application source used for the sync operation
   700                      properties:
   701                        chart:
   702                          description: Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
   703                          type: string
   704                        directory:
   705                          description: Directory holds path/directory specific options
   706                          properties:
   707                            exclude:
   708                              description: Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
   709                              type: string
   710                            include:
   711                              description: Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
   712                              type: string
   713                            jsonnet:
   714                              description: Jsonnet holds options specific to Jsonnet
   715                              properties:
   716                                extVars:
   717                                  description: ExtVars is a list of Jsonnet External Variables
   718                                  items:
   719                                    description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
   720                                    properties:
   721                                      code:
   722                                        type: boolean
   723                                      name:
   724                                        type: string
   725                                      value:
   726                                        type: string
   727                                    required:
   728                                    - name
   729                                    - value
   730                                    type: object
   731                                  type: array
   732                                libs:
   733                                  description: Additional library search dirs
   734                                  items:
   735                                    type: string
   736                                  type: array
   737                                tlas:
   738                                  description: TLAS is a list of Jsonnet Top-level Arguments
   739                                  items:
   740                                    description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
   741                                    properties:
   742                                      code:
   743                                        type: boolean
   744                                      name:
   745                                        type: string
   746                                      value:
   747                                        type: string
   748                                    required:
   749                                    - name
   750                                    - value
   751                                    type: object
   752                                  type: array
   753                              type: object
   754                            recurse:
   755                              description: Recurse specifies whether to scan a directory recursively for manifests
   756                              type: boolean
   757                          type: object
   758                        helm:
   759                          description: Helm holds helm specific options
   760                          properties:
   761                            fileParameters:
   762                              description: FileParameters are file parameters to the helm template
   763                              items:
   764                                description: HelmFileParameter is a file parameter that's passed to helm template during manifest generation
   765                                properties:
   766                                  name:
   767                                    description: Name is the name of the Helm parameter
   768                                    type: string
   769                                  path:
   770                                    description: Path is the path to the file containing the values for the Helm parameter
   771                                    type: string
   772                                type: object
   773                              type: array
   774                            parameters:
   775                              description: Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
   776                              items:
   777                                description: HelmParameter is a parameter that's passed to helm template during manifest generation
   778                                properties:
   779                                  forceString:
   780                                    description: ForceString determines whether to tell Helm to interpret booleans and numbers as strings
   781                                    type: boolean
   782                                  name:
   783                                    description: Name is the name of the Helm parameter
   784                                    type: string
   785                                  value:
   786                                    description: Value is the value for the Helm parameter
   787                                    type: string
   788                                type: object
   789                              type: array
   790                            releaseName:
   791                              description: ReleaseName is the Helm release name to use. If omitted it will use the application name
   792                              type: string
   793                            valueFiles:
   794                              description: ValuesFiles is a list of Helm value files to use when generating a template
   795                              items:
   796                                type: string
   797                              type: array
   798                            values:
   799                              description: Values specifies Helm values to be passed to helm template, typically defined as a block
   800                              type: string
   801                            version:
   802                              description: Version is the Helm version to use for templating (either "2" or "3")
   803                              type: string
   804                          type: object
   805                        ksonnet:
   806                          description: Ksonnet holds ksonnet specific options
   807                          properties:
   808                            environment:
   809                              description: Environment is a ksonnet application environment name
   810                              type: string
   811                            parameters:
   812                              description: Parameters are a list of ksonnet component parameter override values
   813                              items:
   814                                description: KsonnetParameter is a ksonnet component parameter
   815                                properties:
   816                                  component:
   817                                    type: string
   818                                  name:
   819                                    type: string
   820                                  value:
   821                                    type: string
   822                                required:
   823                                - name
   824                                - value
   825                                type: object
   826                              type: array
   827                          type: object
   828                        kustomize:
   829                          description: Kustomize holds kustomize specific options
   830                          properties:
   831                            commonAnnotations:
   832                              additionalProperties:
   833                                type: string
   834                              description: CommonAnnotations is a list of additional annotations to add to rendered manifests
   835                              type: object
   836                            commonLabels:
   837                              additionalProperties:
   838                                type: string
   839                              description: CommonLabels is a list of additional labels to add to rendered manifests
   840                              type: object
   841                            images:
   842                              description: Images is a list of Kustomize image override specifications
   843                              items:
   844                                description: KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>
   845                                type: string
   846                              type: array
   847                            namePrefix:
   848                              description: NamePrefix is a prefix appended to resources for Kustomize apps
   849                              type: string
   850                            nameSuffix:
   851                              description: NameSuffix is a suffix appended to resources for Kustomize apps
   852                              type: string
   853                            version:
   854                              description: Version controls which version of Kustomize to use for rendering manifests
   855                              type: string
   856                          type: object
   857                        path:
   858                          description: Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
   859                          type: string
   860                        plugin:
   861                          description: ConfigManagementPlugin holds config management plugin specific options
   862                          properties:
   863                            env:
   864                              description: Env is a list of environment variable entries
   865                              items:
   866                                description: EnvEntry represents an entry in the application's environment
   867                                properties:
   868                                  name:
   869                                    description: Name is the name of the variable, usually expressed in uppercase
   870                                    type: string
   871                                  value:
   872                                    description: Value is the value of the variable
   873                                    type: string
   874                                required:
   875                                - name
   876                                - value
   877                                type: object
   878                              type: array
   879                            name:
   880                              type: string
   881                          type: object
   882                        repoURL:
   883                          description: RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
   884                          type: string
   885                        targetRevision:
   886                          description: TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
   887                          type: string
   888                      required:
   889                      - repoURL
   890                      type: object
   891                  required:
   892                  - deployedAt
   893                  - id
   894                  - revision
   895                  type: object
   896                type: array
   897              observedAt:
   898                description: 'ObservedAt indicates when the application state was updated without querying latest git state Deprecated: controller no longer updates ObservedAt field'
   899                format: date-time
   900                type: string
   901              operationState:
   902                description: OperationState contains information about any ongoing operations, such as a sync
   903                properties:
   904                  finishedAt:
   905                    description: FinishedAt contains time of operation completion
   906                    format: date-time
   907                    type: string
   908                  message:
   909                    description: Message holds any pertinent messages when attempting to perform operation (typically errors).
   910                    type: string
   911                  operation:
   912                    description: Operation is the original requested operation
   913                    properties:
   914                      info:
   915                        description: Info is a list of informational items for this operation
   916                        items:
   917                          properties:
   918                            name:
   919                              type: string
   920                            value:
   921                              type: string
   922                          required:
   923                          - name
   924                          - value
   925                          type: object
   926                        type: array
   927                      initiatedBy:
   928                        description: InitiatedBy contains information about who initiated the operations
   929                        properties:
   930                          automated:
   931                            description: Automated is set to true if operation was initiated automatically by the application controller.
   932                            type: boolean
   933                          username:
   934                            description: Username contains the name of a user who started operation
   935                            type: string
   936                        type: object
   937                      retry:
   938                        description: Retry controls the strategy to apply if a sync fails
   939                        properties:
   940                          backoff:
   941                            description: Backoff controls how to backoff on subsequent retries of failed syncs
   942                            properties:
   943                              duration:
   944                                description: Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h")
   945                                type: string
   946                              factor:
   947                                description: Factor is a factor to multiply the base duration after each failed retry
   948                                format: int64
   949                                type: integer
   950                              maxDuration:
   951                                description: MaxDuration is the maximum amount of time allowed for the backoff strategy
   952                                type: string
   953                            type: object
   954                          limit:
   955                            description: Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
   956                            format: int64
   957                            type: integer
   958                        type: object
   959                      sync:
   960                        description: Sync contains parameters for the operation
   961                        properties:
   962                          dryRun:
   963                            description: DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync
   964                            type: boolean
   965                          manifests:
   966                            description: Manifests is an optional field that overrides sync source with a local directory for development
   967                            items:
   968                              type: string
   969                            type: array
   970                          prune:
   971                            description: Prune specifies to delete resources from the cluster that are no longer tracked in git
   972                            type: boolean
   973                          resources:
   974                            description: Resources describes which resources shall be part of the sync
   975                            items:
   976                              description: SyncOperationResource contains resources to sync.
   977                              properties:
   978                                group:
   979                                  type: string
   980                                kind:
   981                                  type: string
   982                                name:
   983                                  type: string
   984                                namespace:
   985                                  type: string
   986                              required:
   987                              - kind
   988                              - name
   989                              type: object
   990                            type: array
   991                          revision:
   992                            description: Revision is the revision (Git) or chart version (Helm) which to sync the application to If omitted, will use the revision specified in app spec.
   993                            type: string
   994                          source:
   995                            description: Source overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation
   996                            properties:
   997                              chart:
   998                                description: Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
   999                                type: string
  1000                              directory:
  1001                                description: Directory holds path/directory specific options
  1002                                properties:
  1003                                  exclude:
  1004                                    description: Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
  1005                                    type: string
  1006                                  include:
  1007                                    description: Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
  1008                                    type: string
  1009                                  jsonnet:
  1010                                    description: Jsonnet holds options specific to Jsonnet
  1011                                    properties:
  1012                                      extVars:
  1013                                        description: ExtVars is a list of Jsonnet External Variables
  1014                                        items:
  1015                                          description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
  1016                                          properties:
  1017                                            code:
  1018                                              type: boolean
  1019                                            name:
  1020                                              type: string
  1021                                            value:
  1022                                              type: string
  1023                                          required:
  1024                                          - name
  1025                                          - value
  1026                                          type: object
  1027                                        type: array
  1028                                      libs:
  1029                                        description: Additional library search dirs
  1030                                        items:
  1031                                          type: string
  1032                                        type: array
  1033                                      tlas:
  1034                                        description: TLAS is a list of Jsonnet Top-level Arguments
  1035                                        items:
  1036                                          description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
  1037                                          properties:
  1038                                            code:
  1039                                              type: boolean
  1040                                            name:
  1041                                              type: string
  1042                                            value:
  1043                                              type: string
  1044                                          required:
  1045                                          - name
  1046                                          - value
  1047                                          type: object
  1048                                        type: array
  1049                                    type: object
  1050                                  recurse:
  1051                                    description: Recurse specifies whether to scan a directory recursively for manifests
  1052                                    type: boolean
  1053                                type: object
  1054                              helm:
  1055                                description: Helm holds helm specific options
  1056                                properties:
  1057                                  fileParameters:
  1058                                    description: FileParameters are file parameters to the helm template
  1059                                    items:
  1060                                      description: HelmFileParameter is a file parameter that's passed to helm template during manifest generation
  1061                                      properties:
  1062                                        name:
  1063                                          description: Name is the name of the Helm parameter
  1064                                          type: string
  1065                                        path:
  1066                                          description: Path is the path to the file containing the values for the Helm parameter
  1067                                          type: string
  1068                                      type: object
  1069                                    type: array
  1070                                  parameters:
  1071                                    description: Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
  1072                                    items:
  1073                                      description: HelmParameter is a parameter that's passed to helm template during manifest generation
  1074                                      properties:
  1075                                        forceString:
  1076                                          description: ForceString determines whether to tell Helm to interpret booleans and numbers as strings
  1077                                          type: boolean
  1078                                        name:
  1079                                          description: Name is the name of the Helm parameter
  1080                                          type: string
  1081                                        value:
  1082                                          description: Value is the value for the Helm parameter
  1083                                          type: string
  1084                                      type: object
  1085                                    type: array
  1086                                  releaseName:
  1087                                    description: ReleaseName is the Helm release name to use. If omitted it will use the application name
  1088                                    type: string
  1089                                  valueFiles:
  1090                                    description: ValuesFiles is a list of Helm value files to use when generating a template
  1091                                    items:
  1092                                      type: string
  1093                                    type: array
  1094                                  values:
  1095                                    description: Values specifies Helm values to be passed to helm template, typically defined as a block
  1096                                    type: string
  1097                                  version:
  1098                                    description: Version is the Helm version to use for templating (either "2" or "3")
  1099                                    type: string
  1100                                type: object
  1101                              ksonnet:
  1102                                description: Ksonnet holds ksonnet specific options
  1103                                properties:
  1104                                  environment:
  1105                                    description: Environment is a ksonnet application environment name
  1106                                    type: string
  1107                                  parameters:
  1108                                    description: Parameters are a list of ksonnet component parameter override values
  1109                                    items:
  1110                                      description: KsonnetParameter is a ksonnet component parameter
  1111                                      properties:
  1112                                        component:
  1113                                          type: string
  1114                                        name:
  1115                                          type: string
  1116                                        value:
  1117                                          type: string
  1118                                      required:
  1119                                      - name
  1120                                      - value
  1121                                      type: object
  1122                                    type: array
  1123                                type: object
  1124                              kustomize:
  1125                                description: Kustomize holds kustomize specific options
  1126                                properties:
  1127                                  commonAnnotations:
  1128                                    additionalProperties:
  1129                                      type: string
  1130                                    description: CommonAnnotations is a list of additional annotations to add to rendered manifests
  1131                                    type: object
  1132                                  commonLabels:
  1133                                    additionalProperties:
  1134                                      type: string
  1135                                    description: CommonLabels is a list of additional labels to add to rendered manifests
  1136                                    type: object
  1137                                  images:
  1138                                    description: Images is a list of Kustomize image override specifications
  1139                                    items:
  1140                                      description: KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>
  1141                                      type: string
  1142                                    type: array
  1143                                  namePrefix:
  1144                                    description: NamePrefix is a prefix appended to resources for Kustomize apps
  1145                                    type: string
  1146                                  nameSuffix:
  1147                                    description: NameSuffix is a suffix appended to resources for Kustomize apps
  1148                                    type: string
  1149                                  version:
  1150                                    description: Version controls which version of Kustomize to use for rendering manifests
  1151                                    type: string
  1152                                type: object
  1153                              path:
  1154                                description: Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
  1155                                type: string
  1156                              plugin:
  1157                                description: ConfigManagementPlugin holds config management plugin specific options
  1158                                properties:
  1159                                  env:
  1160                                    description: Env is a list of environment variable entries
  1161                                    items:
  1162                                      description: EnvEntry represents an entry in the application's environment
  1163                                      properties:
  1164                                        name:
  1165                                          description: Name is the name of the variable, usually expressed in uppercase
  1166                                          type: string
  1167                                        value:
  1168                                          description: Value is the value of the variable
  1169                                          type: string
  1170                                      required:
  1171                                      - name
  1172                                      - value
  1173                                      type: object
  1174                                    type: array
  1175                                  name:
  1176                                    type: string
  1177                                type: object
  1178                              repoURL:
  1179                                description: RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
  1180                                type: string
  1181                              targetRevision:
  1182                                description: TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
  1183                                type: string
  1184                            required:
  1185                            - repoURL
  1186                            type: object
  1187                          syncOptions:
  1188                            description: SyncOptions provide per-sync sync-options, e.g. Validate=false
  1189                            items:
  1190                              type: string
  1191                            type: array
  1192                          syncStrategy:
  1193                            description: SyncStrategy describes how to perform the sync
  1194                            properties:
  1195                              apply:
  1196                                description: Apply will perform a `kubectl apply` to perform the sync.
  1197                                properties:
  1198                                  force:
  1199                                    description: Force indicates whether or not to supply the --force flag to `kubectl apply`. The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times.
  1200                                    type: boolean
  1201                                type: object
  1202                              hook:
  1203                                description: Hook will submit any referenced resources to perform the sync. This is the default strategy
  1204                                properties:
  1205                                  force:
  1206                                    description: Force indicates whether or not to supply the --force flag to `kubectl apply`. The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times.
  1207                                    type: boolean
  1208                                type: object
  1209                            type: object
  1210                        type: object
  1211                    type: object
  1212                  phase:
  1213                    description: Phase is the current phase of the operation
  1214                    type: string
  1215                  retryCount:
  1216                    description: RetryCount contains time of operation retries
  1217                    format: int64
  1218                    type: integer
  1219                  startedAt:
  1220                    description: StartedAt contains time of operation start
  1221                    format: date-time
  1222                    type: string
  1223                  syncResult:
  1224                    description: SyncResult is the result of a Sync operation
  1225                    properties:
  1226                      resources:
  1227                        description: Resources contains a list of sync result items for each individual resource in a sync operation
  1228                        items:
  1229                          description: ResourceResult holds the operation result details of a specific resource
  1230                          properties:
  1231                            group:
  1232                              description: Group specifies the API group of the resource
  1233                              type: string
  1234                            hookPhase:
  1235                              description: HookPhase contains the state of any operation associated with this resource OR hook This can also contain values for non-hook resources.
  1236                              type: string
  1237                            hookType:
  1238                              description: HookType specifies the type of the hook. Empty for non-hook resources
  1239                              type: string
  1240                            kind:
  1241                              description: Kind specifies the API kind of the resource
  1242                              type: string
  1243                            message:
  1244                              description: Message contains an informational or error message for the last sync OR operation
  1245                              type: string
  1246                            name:
  1247                              description: Name specifies the name of the resource
  1248                              type: string
  1249                            namespace:
  1250                              description: Namespace specifies the target namespace of the resource
  1251                              type: string
  1252                            status:
  1253                              description: Status holds the final result of the sync. Will be empty if the resources is yet to be applied/pruned and is always zero-value for hooks
  1254                              type: string
  1255                            syncPhase:
  1256                              description: SyncPhase indicates the particular phase of the sync that this result was acquired in
  1257                              type: string
  1258                            version:
  1259                              description: Version specifies the API version of the resource
  1260                              type: string
  1261                          required:
  1262                          - group
  1263                          - kind
  1264                          - name
  1265                          - namespace
  1266                          - version
  1267                          type: object
  1268                        type: array
  1269                      revision:
  1270                        description: Revision holds the revision this sync operation was performed to
  1271                        type: string
  1272                      source:
  1273                        description: Source records the application source information of the sync, used for comparing auto-sync
  1274                        properties:
  1275                          chart:
  1276                            description: Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
  1277                            type: string
  1278                          directory:
  1279                            description: Directory holds path/directory specific options
  1280                            properties:
  1281                              exclude:
  1282                                description: Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
  1283                                type: string
  1284                              include:
  1285                                description: Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
  1286                                type: string
  1287                              jsonnet:
  1288                                description: Jsonnet holds options specific to Jsonnet
  1289                                properties:
  1290                                  extVars:
  1291                                    description: ExtVars is a list of Jsonnet External Variables
  1292                                    items:
  1293                                      description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
  1294                                      properties:
  1295                                        code:
  1296                                          type: boolean
  1297                                        name:
  1298                                          type: string
  1299                                        value:
  1300                                          type: string
  1301                                      required:
  1302                                      - name
  1303                                      - value
  1304                                      type: object
  1305                                    type: array
  1306                                  libs:
  1307                                    description: Additional library search dirs
  1308                                    items:
  1309                                      type: string
  1310                                    type: array
  1311                                  tlas:
  1312                                    description: TLAS is a list of Jsonnet Top-level Arguments
  1313                                    items:
  1314                                      description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
  1315                                      properties:
  1316                                        code:
  1317                                          type: boolean
  1318                                        name:
  1319                                          type: string
  1320                                        value:
  1321                                          type: string
  1322                                      required:
  1323                                      - name
  1324                                      - value
  1325                                      type: object
  1326                                    type: array
  1327                                type: object
  1328                              recurse:
  1329                                description: Recurse specifies whether to scan a directory recursively for manifests
  1330                                type: boolean
  1331                            type: object
  1332                          helm:
  1333                            description: Helm holds helm specific options
  1334                            properties:
  1335                              fileParameters:
  1336                                description: FileParameters are file parameters to the helm template
  1337                                items:
  1338                                  description: HelmFileParameter is a file parameter that's passed to helm template during manifest generation
  1339                                  properties:
  1340                                    name:
  1341                                      description: Name is the name of the Helm parameter
  1342                                      type: string
  1343                                    path:
  1344                                      description: Path is the path to the file containing the values for the Helm parameter
  1345                                      type: string
  1346                                  type: object
  1347                                type: array
  1348                              parameters:
  1349                                description: Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
  1350                                items:
  1351                                  description: HelmParameter is a parameter that's passed to helm template during manifest generation
  1352                                  properties:
  1353                                    forceString:
  1354                                      description: ForceString determines whether to tell Helm to interpret booleans and numbers as strings
  1355                                      type: boolean
  1356                                    name:
  1357                                      description: Name is the name of the Helm parameter
  1358                                      type: string
  1359                                    value:
  1360                                      description: Value is the value for the Helm parameter
  1361                                      type: string
  1362                                  type: object
  1363                                type: array
  1364                              releaseName:
  1365                                description: ReleaseName is the Helm release name to use. If omitted it will use the application name
  1366                                type: string
  1367                              valueFiles:
  1368                                description: ValuesFiles is a list of Helm value files to use when generating a template
  1369                                items:
  1370                                  type: string
  1371                                type: array
  1372                              values:
  1373                                description: Values specifies Helm values to be passed to helm template, typically defined as a block
  1374                                type: string
  1375                              version:
  1376                                description: Version is the Helm version to use for templating (either "2" or "3")
  1377                                type: string
  1378                            type: object
  1379                          ksonnet:
  1380                            description: Ksonnet holds ksonnet specific options
  1381                            properties:
  1382                              environment:
  1383                                description: Environment is a ksonnet application environment name
  1384                                type: string
  1385                              parameters:
  1386                                description: Parameters are a list of ksonnet component parameter override values
  1387                                items:
  1388                                  description: KsonnetParameter is a ksonnet component parameter
  1389                                  properties:
  1390                                    component:
  1391                                      type: string
  1392                                    name:
  1393                                      type: string
  1394                                    value:
  1395                                      type: string
  1396                                  required:
  1397                                  - name
  1398                                  - value
  1399                                  type: object
  1400                                type: array
  1401                            type: object
  1402                          kustomize:
  1403                            description: Kustomize holds kustomize specific options
  1404                            properties:
  1405                              commonAnnotations:
  1406                                additionalProperties:
  1407                                  type: string
  1408                                description: CommonAnnotations is a list of additional annotations to add to rendered manifests
  1409                                type: object
  1410                              commonLabels:
  1411                                additionalProperties:
  1412                                  type: string
  1413                                description: CommonLabels is a list of additional labels to add to rendered manifests
  1414                                type: object
  1415                              images:
  1416                                description: Images is a list of Kustomize image override specifications
  1417                                items:
  1418                                  description: KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>
  1419                                  type: string
  1420                                type: array
  1421                              namePrefix:
  1422                                description: NamePrefix is a prefix appended to resources for Kustomize apps
  1423                                type: string
  1424                              nameSuffix:
  1425                                description: NameSuffix is a suffix appended to resources for Kustomize apps
  1426                                type: string
  1427                              version:
  1428                                description: Version controls which version of Kustomize to use for rendering manifests
  1429                                type: string
  1430                            type: object
  1431                          path:
  1432                            description: Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
  1433                            type: string
  1434                          plugin:
  1435                            description: ConfigManagementPlugin holds config management plugin specific options
  1436                            properties:
  1437                              env:
  1438                                description: Env is a list of environment variable entries
  1439                                items:
  1440                                  description: EnvEntry represents an entry in the application's environment
  1441                                  properties:
  1442                                    name:
  1443                                      description: Name is the name of the variable, usually expressed in uppercase
  1444                                      type: string
  1445                                    value:
  1446                                      description: Value is the value of the variable
  1447                                      type: string
  1448                                  required:
  1449                                  - name
  1450                                  - value
  1451                                  type: object
  1452                                type: array
  1453                              name:
  1454                                type: string
  1455                            type: object
  1456                          repoURL:
  1457                            description: RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
  1458                            type: string
  1459                          targetRevision:
  1460                            description: TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
  1461                            type: string
  1462                        required:
  1463                        - repoURL
  1464                        type: object
  1465                    required:
  1466                    - revision
  1467                    type: object
  1468                required:
  1469                - operation
  1470                - phase
  1471                - startedAt
  1472                type: object
  1473              reconciledAt:
  1474                description: ReconciledAt indicates when the application state was reconciled using the latest git version
  1475                format: date-time
  1476                type: string
  1477              resources:
  1478                description: Resources is a list of Kubernetes resources managed by this application
  1479                items:
  1480                  description: 'ResourceStatus holds the current sync and health status of a resource TODO: describe members of this type'
  1481                  properties:
  1482                    group:
  1483                      type: string
  1484                    health:
  1485                      description: HealthStatus contains information about the currently observed health state of an application or resource
  1486                      properties:
  1487                        message:
  1488                          description: Message is a human-readable informational message describing the health status
  1489                          type: string
  1490                        status:
  1491                          description: Status holds the status code of the application or resource
  1492                          type: string
  1493                      type: object
  1494                    hook:
  1495                      type: boolean
  1496                    kind:
  1497                      type: string
  1498                    name:
  1499                      type: string
  1500                    namespace:
  1501                      type: string
  1502                    requiresPruning:
  1503                      type: boolean
  1504                    status:
  1505                      description: SyncStatusCode is a type which represents possible comparison results
  1506                      type: string
  1507                    version:
  1508                      type: string
  1509                  type: object
  1510                type: array
  1511              sourceType:
  1512                description: SourceType specifies the type of this application
  1513                type: string
  1514              summary:
  1515                description: Summary contains a list of URLs and container images used by this application
  1516                properties:
  1517                  externalURLs:
  1518                    description: ExternalURLs holds all external URLs of application child resources.
  1519                    items:
  1520                      type: string
  1521                    type: array
  1522                  images:
  1523                    description: Images holds all images of application child resources.
  1524                    items:
  1525                      type: string
  1526                    type: array
  1527                type: object
  1528              sync:
  1529                description: Sync contains information about the application's current sync status
  1530                properties:
  1531                  comparedTo:
  1532                    description: ComparedTo contains information about what has been compared
  1533                    properties:
  1534                      destination:
  1535                        description: Destination is a reference to the application's destination used for comparison
  1536                        properties:
  1537                          name:
  1538                            description: Name is an alternate way of specifying the target cluster by its symbolic name
  1539                            type: string
  1540                          namespace:
  1541                            description: Namespace specifies the target namespace for the application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace
  1542                            type: string
  1543                          server:
  1544                            description: Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API
  1545                            type: string
  1546                        type: object
  1547                      source:
  1548                        description: Source is a reference to the application's source used for comparison
  1549                        properties:
  1550                          chart:
  1551                            description: Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
  1552                            type: string
  1553                          directory:
  1554                            description: Directory holds path/directory specific options
  1555                            properties:
  1556                              exclude:
  1557                                description: Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
  1558                                type: string
  1559                              include:
  1560                                description: Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
  1561                                type: string
  1562                              jsonnet:
  1563                                description: Jsonnet holds options specific to Jsonnet
  1564                                properties:
  1565                                  extVars:
  1566                                    description: ExtVars is a list of Jsonnet External Variables
  1567                                    items:
  1568                                      description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
  1569                                      properties:
  1570                                        code:
  1571                                          type: boolean
  1572                                        name:
  1573                                          type: string
  1574                                        value:
  1575                                          type: string
  1576                                      required:
  1577                                      - name
  1578                                      - value
  1579                                      type: object
  1580                                    type: array
  1581                                  libs:
  1582                                    description: Additional library search dirs
  1583                                    items:
  1584                                      type: string
  1585                                    type: array
  1586                                  tlas:
  1587                                    description: TLAS is a list of Jsonnet Top-level Arguments
  1588                                    items:
  1589                                      description: JsonnetVar represents a variable to be passed to jsonnet during manifest generation
  1590                                      properties:
  1591                                        code:
  1592                                          type: boolean
  1593                                        name:
  1594                                          type: string
  1595                                        value:
  1596                                          type: string
  1597                                      required:
  1598                                      - name
  1599                                      - value
  1600                                      type: object
  1601                                    type: array
  1602                                type: object
  1603                              recurse:
  1604                                description: Recurse specifies whether to scan a directory recursively for manifests
  1605                                type: boolean
  1606                            type: object
  1607                          helm:
  1608                            description: Helm holds helm specific options
  1609                            properties:
  1610                              fileParameters:
  1611                                description: FileParameters are file parameters to the helm template
  1612                                items:
  1613                                  description: HelmFileParameter is a file parameter that's passed to helm template during manifest generation
  1614                                  properties:
  1615                                    name:
  1616                                      description: Name is the name of the Helm parameter
  1617                                      type: string
  1618                                    path:
  1619                                      description: Path is the path to the file containing the values for the Helm parameter
  1620                                      type: string
  1621                                  type: object
  1622                                type: array
  1623                              parameters:
  1624                                description: Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
  1625                                items:
  1626                                  description: HelmParameter is a parameter that's passed to helm template during manifest generation
  1627                                  properties:
  1628                                    forceString:
  1629                                      description: ForceString determines whether to tell Helm to interpret booleans and numbers as strings
  1630                                      type: boolean
  1631                                    name:
  1632                                      description: Name is the name of the Helm parameter
  1633                                      type: string
  1634                                    value:
  1635                                      description: Value is the value for the Helm parameter
  1636                                      type: string
  1637                                  type: object
  1638                                type: array
  1639                              releaseName:
  1640                                description: ReleaseName is the Helm release name to use. If omitted it will use the application name
  1641                                type: string
  1642                              valueFiles:
  1643                                description: ValuesFiles is a list of Helm value files to use when generating a template
  1644                                items:
  1645                                  type: string
  1646                                type: array
  1647                              values:
  1648                                description: Values specifies Helm values to be passed to helm template, typically defined as a block
  1649                                type: string
  1650                              version:
  1651                                description: Version is the Helm version to use for templating (either "2" or "3")
  1652                                type: string
  1653                            type: object
  1654                          ksonnet:
  1655                            description: Ksonnet holds ksonnet specific options
  1656                            properties:
  1657                              environment:
  1658                                description: Environment is a ksonnet application environment name
  1659                                type: string
  1660                              parameters:
  1661                                description: Parameters are a list of ksonnet component parameter override values
  1662                                items:
  1663                                  description: KsonnetParameter is a ksonnet component parameter
  1664                                  properties:
  1665                                    component:
  1666                                      type: string
  1667                                    name:
  1668                                      type: string
  1669                                    value:
  1670                                      type: string
  1671                                  required:
  1672                                  - name
  1673                                  - value
  1674                                  type: object
  1675                                type: array
  1676                            type: object
  1677                          kustomize:
  1678                            description: Kustomize holds kustomize specific options
  1679                            properties:
  1680                              commonAnnotations:
  1681                                additionalProperties:
  1682                                  type: string
  1683                                description: CommonAnnotations is a list of additional annotations to add to rendered manifests
  1684                                type: object
  1685                              commonLabels:
  1686                                additionalProperties:
  1687                                  type: string
  1688                                description: CommonLabels is a list of additional labels to add to rendered manifests
  1689                                type: object
  1690                              images:
  1691                                description: Images is a list of Kustomize image override specifications
  1692                                items:
  1693                                  description: KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>
  1694                                  type: string
  1695                                type: array
  1696                              namePrefix:
  1697                                description: NamePrefix is a prefix appended to resources for Kustomize apps
  1698                                type: string
  1699                              nameSuffix:
  1700                                description: NameSuffix is a suffix appended to resources for Kustomize apps
  1701                                type: string
  1702                              version:
  1703                                description: Version controls which version of Kustomize to use for rendering manifests
  1704                                type: string
  1705                            type: object
  1706                          path:
  1707                            description: Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
  1708                            type: string
  1709                          plugin:
  1710                            description: ConfigManagementPlugin holds config management plugin specific options
  1711                            properties:
  1712                              env:
  1713                                description: Env is a list of environment variable entries
  1714                                items:
  1715                                  description: EnvEntry represents an entry in the application's environment
  1716                                  properties:
  1717                                    name:
  1718                                      description: Name is the name of the variable, usually expressed in uppercase
  1719                                      type: string
  1720                                    value:
  1721                                      description: Value is the value of the variable
  1722                                      type: string
  1723                                  required:
  1724                                  - name
  1725                                  - value
  1726                                  type: object
  1727                                type: array
  1728                              name:
  1729                                type: string
  1730                            type: object
  1731                          repoURL:
  1732                            description: RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
  1733                            type: string
  1734                          targetRevision:
  1735                            description: TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
  1736                            type: string
  1737                        required:
  1738                        - repoURL
  1739                        type: object
  1740                    required:
  1741                    - destination
  1742                    - source
  1743                    type: object
  1744                  revision:
  1745                    description: Revision contains information about the revision the comparison has been performed to
  1746                    type: string
  1747                  status:
  1748                    description: Status is the sync state of the comparison
  1749                    type: string
  1750                required:
  1751                - status
  1752                type: object
  1753            type: object
  1754        required:
  1755        - metadata
  1756        - spec
  1757        type: object
  1758    served: true
  1759    storage: true
  1760    subresources: {}

View as plain text