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