Skip to content

Commit

Permalink
feat: [CDS-98794]: Adding support for Multi-Source application (#1082)
Browse files Browse the repository at this point in the history
* feat: [CDS-98794]: Adding support for Multi-Source application

Signed-off-by: Mirko Teodorovic <[email protected]>

* fix repo delete

Signed-off-by: Mirko Teodorovic <[email protected]>

* fix: [CDS-98794)]: MultiSource app

Signed-off-by: Mirko Teodorovic <[email protected]>

* add docs, update data

Signed-off-by: Mirko Teodorovic <[email protected]>

* update harness go sdk

Signed-off-by: Mirko Teodorovic <[email protected]>

* add changelog

Signed-off-by: Mirko Teodorovic <[email protected]>

* Update platform_gitops_applications.md

* Update platform_gitops_repository.md

* Update platform_gitops_applications.md

* Update platform_gitops_repository.md

---------

Signed-off-by: Mirko Teodorovic <[email protected]>
  • Loading branch information
mteodor authored Oct 24, 2024
1 parent ebaf3af commit 8829169
Show file tree
Hide file tree
Showing 9 changed files with 1,477 additions and 415 deletions.
4 changes: 4 additions & 0 deletions .changelog/1082.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```release-note:enhancement
resource/harness_platform_gitops_applications: add support for multi source applications
resource/harness_platform_gitops_repository: add force delete repo that skips validation against apps using repo
```
206 changes: 175 additions & 31 deletions docs/data-sources/platform_gitops_applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Read-Only:
- `destination` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--destination))
- `project` (String)
- `source` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source))
- `sources` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources))
- `sync_policy` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sync_policy))

<a id="nestedobjatt--application--spec--destination"></a>
Expand Down Expand Up @@ -127,26 +128,26 @@ Read-Only:
- `target_revision` (String)

<a id="nestedobjatt--application--spec--source--directory"></a>
### Nested Schema for `application.spec.source.directory`
### Nested Schema for `application.spec.source.target_revision`

Read-Only:

- `exclude` (String)
- `include` (String)
- `jsonnet` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--directory--jsonnet))
- `jsonnet` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--jsonnet))
- `recurse` (Boolean)

<a id="nestedobjatt--application--spec--source--directory--jsonnet"></a>
### Nested Schema for `application.spec.source.directory.jsonnet`
<a id="nestedobjatt--application--spec--source--target_revision--jsonnet"></a>
### Nested Schema for `application.spec.source.target_revision.jsonnet`

Read-Only:

- `ext_vars` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--directory--jsonnet--ext_vars))
- `ext_vars` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--jsonnet--ext_vars))
- `libs` (List of String)
- `tlas` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--directory--jsonnet--tlas))
- `tlas` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--jsonnet--tlas))

<a id="nestedobjatt--application--spec--source--directory--jsonnet--ext_vars"></a>
### Nested Schema for `application.spec.source.directory.jsonnet.ext_vars`
<a id="nestedobjatt--application--spec--source--target_revision--jsonnet--ext_vars"></a>
### Nested Schema for `application.spec.source.target_revision.jsonnet.tlas`

Read-Only:

Expand All @@ -155,8 +156,8 @@ Read-Only:
- `value` (String)


<a id="nestedobjatt--application--spec--source--directory--jsonnet--tlas"></a>
### Nested Schema for `application.spec.source.directory.jsonnet.tlas`
<a id="nestedobjatt--application--spec--source--target_revision--jsonnet--tlas"></a>
### Nested Schema for `application.spec.source.target_revision.jsonnet.tlas`

Read-Only:

Expand All @@ -168,29 +169,29 @@ Read-Only:


<a id="nestedobjatt--application--spec--source--helm"></a>
### Nested Schema for `application.spec.source.helm`
### Nested Schema for `application.spec.source.target_revision`

Read-Only:

- `file_parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--helm--file_parameters))
- `parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--helm--parameters))
- `file_parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--file_parameters))
- `parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--parameters))
- `pass_credentials` (Boolean)
- `release_name` (String)
- `value_files` (List of String)
- `values` (String)
- `version` (String)

<a id="nestedobjatt--application--spec--source--helm--file_parameters"></a>
### Nested Schema for `application.spec.source.helm.file_parameters`
<a id="nestedobjatt--application--spec--source--target_revision--file_parameters"></a>
### Nested Schema for `application.spec.source.target_revision.file_parameters`

Read-Only:

- `name` (String)
- `path` (String)


<a id="nestedobjatt--application--spec--source--helm--parameters"></a>
### Nested Schema for `application.spec.source.helm.parameters`
<a id="nestedobjatt--application--spec--source--target_revision--parameters"></a>
### Nested Schema for `application.spec.source.target_revision.parameters`

Read-Only:

Expand All @@ -201,15 +202,15 @@ Read-Only:


<a id="nestedobjatt--application--spec--source--ksonnet"></a>
### Nested Schema for `application.spec.source.ksonnet`
### Nested Schema for `application.spec.source.target_revision`

Read-Only:

- `environment` (String)
- `parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--ksonnet--parameters))
- `parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--parameters))

<a id="nestedobjatt--application--spec--source--ksonnet--parameters"></a>
### Nested Schema for `application.spec.source.ksonnet.parameters`
<a id="nestedobjatt--application--spec--source--target_revision--parameters"></a>
### Nested Schema for `application.spec.source.target_revision.parameters`

Read-Only:

Expand All @@ -220,7 +221,7 @@ Read-Only:


<a id="nestedobjatt--application--spec--source--kustomize"></a>
### Nested Schema for `application.spec.source.kustomize`
### Nested Schema for `application.spec.source.target_revision`

Read-Only:

Expand All @@ -235,15 +236,158 @@ Read-Only:


<a id="nestedobjatt--application--spec--source--plugin"></a>
### Nested Schema for `application.spec.source.plugin`
### Nested Schema for `application.spec.source.target_revision`

Read-Only:

- `env` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--plugin--env))
- `env` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--source--target_revision--env))
- `name` (String)

<a id="nestedobjatt--application--spec--source--plugin--env"></a>
### Nested Schema for `application.spec.source.plugin.env`
<a id="nestedobjatt--application--spec--source--target_revision--env"></a>
### Nested Schema for `application.spec.source.target_revision.env`

Read-Only:

- `name` (String)
- `value` (String)




<a id="nestedobjatt--application--spec--sources"></a>
### Nested Schema for `application.spec.sources`

Read-Only:

- `chart` (String)
- `directory` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--directory))
- `helm` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--helm))
- `ksonnet` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--ksonnet))
- `kustomize` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--kustomize))
- `path` (String)
- `plugin` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--plugin))
- `ref` (String)
- `repo_url` (String)
- `target_revision` (String)

<a id="nestedobjatt--application--spec--sources--directory"></a>
### Nested Schema for `application.spec.sources.target_revision`

Read-Only:

- `exclude` (String)
- `include` (String)
- `jsonnet` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--jsonnet))
- `recurse` (Boolean)

<a id="nestedobjatt--application--spec--sources--target_revision--jsonnet"></a>
### Nested Schema for `application.spec.sources.target_revision.jsonnet`

Read-Only:

- `ext_vars` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--jsonnet--ext_vars))
- `libs` (List of String)
- `tlas` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--jsonnet--tlas))

<a id="nestedobjatt--application--spec--sources--target_revision--jsonnet--ext_vars"></a>
### Nested Schema for `application.spec.sources.target_revision.jsonnet.tlas`

Read-Only:

- `code` (Boolean)
- `name` (String)
- `value` (String)


<a id="nestedobjatt--application--spec--sources--target_revision--jsonnet--tlas"></a>
### Nested Schema for `application.spec.sources.target_revision.jsonnet.tlas`

Read-Only:

- `code` (Boolean)
- `name` (String)
- `value` (String)




<a id="nestedobjatt--application--spec--sources--helm"></a>
### Nested Schema for `application.spec.sources.target_revision`

Read-Only:

- `file_parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--file_parameters))
- `parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--parameters))
- `pass_credentials` (Boolean)
- `release_name` (String)
- `value_files` (List of String)
- `values` (String)
- `version` (String)

<a id="nestedobjatt--application--spec--sources--target_revision--file_parameters"></a>
### Nested Schema for `application.spec.sources.target_revision.file_parameters`

Read-Only:

- `name` (String)
- `path` (String)


<a id="nestedobjatt--application--spec--sources--target_revision--parameters"></a>
### Nested Schema for `application.spec.sources.target_revision.parameters`

Read-Only:

- `force_string` (Boolean)
- `name` (String)
- `value` (String)



<a id="nestedobjatt--application--spec--sources--ksonnet"></a>
### Nested Schema for `application.spec.sources.target_revision`

Read-Only:

- `environment` (String)
- `parameters` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--parameters))

<a id="nestedobjatt--application--spec--sources--target_revision--parameters"></a>
### Nested Schema for `application.spec.sources.target_revision.parameters`

Read-Only:

- `component` (String)
- `name` (String)
- `value` (String)



<a id="nestedobjatt--application--spec--sources--kustomize"></a>
### Nested Schema for `application.spec.sources.target_revision`

Read-Only:

- `common_annotations` (Map of String)
- `common_labels` (Map of String)
- `force_common_annotations` (Boolean)
- `force_common_labels` (Boolean)
- `images` (List of String)
- `name_prefix` (String)
- `name_suffix` (String)
- `version` (String)


<a id="nestedobjatt--application--spec--sources--plugin"></a>
### Nested Schema for `application.spec.sources.target_revision`

Read-Only:

- `env` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sources--target_revision--env))
- `name` (String)

<a id="nestedobjatt--application--spec--sources--target_revision--env"></a>
### Nested Schema for `application.spec.sources.target_revision.env`

Read-Only:

Expand All @@ -263,7 +407,7 @@ Read-Only:
- `sync_options` (List of String)

<a id="nestedobjatt--application--spec--sync_policy--automated"></a>
### Nested Schema for `application.spec.sync_policy.automated`
### Nested Schema for `application.spec.sync_policy.sync_options`

Read-Only:

Expand All @@ -273,15 +417,15 @@ Read-Only:


<a id="nestedobjatt--application--spec--sync_policy--retry"></a>
### Nested Schema for `application.spec.sync_policy.retry`
### Nested Schema for `application.spec.sync_policy.sync_options`

Read-Only:

- `backoff` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sync_policy--retry--backoff))
- `backoff` (List of Object) (see [below for nested schema](#nestedobjatt--application--spec--sync_policy--sync_options--backoff))
- `limit` (String)

<a id="nestedobjatt--application--spec--sync_policy--retry--backoff"></a>
### Nested Schema for `application.spec.sync_policy.retry.backoff`
<a id="nestedobjatt--application--spec--sync_policy--sync_options--backoff"></a>
### Nested Schema for `application.spec.sync_policy.sync_options.backoff`

Read-Only:

Expand Down
Loading

0 comments on commit 8829169

Please sign in to comment.