github.com/argoproj-labs/argocd-operator@v0.10.0/deploy/olm-catalog/argocd-operator/0.0.14/argoproj.io_applications_crd.yaml (about)

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