@pulumi/harness 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/harness",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "A Pulumi package for creating and managing Harness resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,7 +23,7 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "harness",
26
- "version": "0.4.0",
26
+ "version": "0.4.1",
27
27
  "server": "github://api.github.com/pulumi"
28
28
  }
29
29
  }
@@ -18,23 +18,23 @@ export declare function getGitopsAppProject(args: GetGitopsAppProjectArgs, opts?
18
18
  */
19
19
  export interface GetGitopsAppProjectArgs {
20
20
  /**
21
- * Account identifier of the GitOps project.
21
+ * Account identifier of the GitOps Agent where argo project resides.
22
22
  */
23
23
  accountId: string;
24
24
  /**
25
- * Agent identifier of the GitOps project.
25
+ * Agent identifier of the agent where argo project resides(include scope prefix)
26
26
  */
27
27
  agentId: string;
28
28
  /**
29
- * Org identifier of the GitOps project.
29
+ * Org identifier of the GitOps Agent where argo project resides.
30
30
  */
31
31
  orgId?: string;
32
32
  /**
33
- * Project identifier of the GitOps repository.
33
+ * Project identifier of the Gitops Agent where argo project resides.
34
34
  */
35
35
  projectId?: string;
36
36
  /**
37
- * Identifier for the GitOps project.
37
+ * Identifier for the GitOps Argo project.
38
38
  */
39
39
  queryName?: string;
40
40
  }
@@ -43,11 +43,11 @@ export interface GetGitopsAppProjectArgs {
43
43
  */
44
44
  export interface GetGitopsAppProjectResult {
45
45
  /**
46
- * Account identifier of the GitOps project.
46
+ * Account identifier of the GitOps Agent where argo project resides.
47
47
  */
48
48
  readonly accountId: string;
49
49
  /**
50
- * Agent identifier of the GitOps project.
50
+ * Agent identifier of the agent where argo project resides(include scope prefix)
51
51
  */
52
52
  readonly agentId: string;
53
53
  /**
@@ -55,15 +55,15 @@ export interface GetGitopsAppProjectResult {
55
55
  */
56
56
  readonly id: string;
57
57
  /**
58
- * Org identifier of the GitOps project.
58
+ * Org identifier of the GitOps Agent where argo project resides.
59
59
  */
60
60
  readonly orgId?: string;
61
61
  /**
62
- * Project identifier of the GitOps repository.
62
+ * Project identifier of the Gitops Agent where argo project resides.
63
63
  */
64
64
  readonly projectId?: string;
65
65
  /**
66
- * Identifier for the GitOps project.
66
+ * Identifier for the GitOps Argo project.
67
67
  */
68
68
  readonly queryName: string;
69
69
  }
@@ -86,23 +86,23 @@ export declare function getGitopsAppProjectOutput(args: GetGitopsAppProjectOutpu
86
86
  */
87
87
  export interface GetGitopsAppProjectOutputArgs {
88
88
  /**
89
- * Account identifier of the GitOps project.
89
+ * Account identifier of the GitOps Agent where argo project resides.
90
90
  */
91
91
  accountId: pulumi.Input<string>;
92
92
  /**
93
- * Agent identifier of the GitOps project.
93
+ * Agent identifier of the agent where argo project resides(include scope prefix)
94
94
  */
95
95
  agentId: pulumi.Input<string>;
96
96
  /**
97
- * Org identifier of the GitOps project.
97
+ * Org identifier of the GitOps Agent where argo project resides.
98
98
  */
99
99
  orgId?: pulumi.Input<string>;
100
100
  /**
101
- * Project identifier of the GitOps repository.
101
+ * Project identifier of the Gitops Agent where argo project resides.
102
102
  */
103
103
  projectId?: pulumi.Input<string>;
104
104
  /**
105
- * Identifier for the GitOps project.
105
+ * Identifier for the GitOps Argo project.
106
106
  */
107
107
  queryName?: pulumi.Input<string>;
108
108
  }
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
2
3
  import * as outputs from "../types/output";
3
4
  /**
4
5
  * Data source for fetching a GitOps Repository Credentials.
@@ -31,6 +32,10 @@ export interface GetGitopsRepoCredArgs {
31
32
  * Agent identifier of the Repository Credentials.
32
33
  */
33
34
  agentId: string;
35
+ /**
36
+ * credential details.
37
+ */
38
+ creds?: inputs.platform.GetGitopsRepoCredCred[];
34
39
  /**
35
40
  * Identifier of the Repository Credentials.
36
41
  */
@@ -108,6 +113,10 @@ export interface GetGitopsRepoCredOutputArgs {
108
113
  * Agent identifier of the Repository Credentials.
109
114
  */
110
115
  agentId: pulumi.Input<string>;
116
+ /**
117
+ * credential details.
118
+ */
119
+ creds?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsRepoCredCredArgs>[]>;
111
120
  /**
112
121
  * Identifier of the Repository Credentials.
113
122
  */
@@ -28,6 +28,7 @@ function getGitopsRepoCred(args, opts) {
28
28
  return pulumi.runtime.invoke("harness:platform/getGitopsRepoCred:getGitopsRepoCred", {
29
29
  "accountId": args.accountId,
30
30
  "agentId": args.agentId,
31
+ "creds": args.creds,
31
32
  "identifier": args.identifier,
32
33
  "orgId": args.orgId,
33
34
  "projectId": args.projectId,
@@ -57,6 +58,7 @@ function getGitopsRepoCredOutput(args, opts) {
57
58
  return pulumi.runtime.invokeOutput("harness:platform/getGitopsRepoCred:getGitopsRepoCred", {
58
59
  "accountId": args.accountId,
59
60
  "agentId": args.agentId,
61
+ "creds": args.creds,
60
62
  "identifier": args.identifier,
61
63
  "orgId": args.orgId,
62
64
  "projectId": args.projectId,
@@ -1 +1 @@
1
- {"version":3,"file":"getGitopsRepoCred.js","sourceRoot":"","sources":["../../platform/getGitopsRepoCred.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,E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IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AAiED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0DAUC"}
@@ -45,7 +45,7 @@ export declare class GitOpsCluster extends pulumi.CustomResource {
45
45
  */
46
46
  readonly accountId: pulumi.Output<string>;
47
47
  /**
48
- * Agent identifier of the GitOps cluster.
48
+ * Agent identifier of the GitOps cluster. (include scope prefix)
49
49
  */
50
50
  readonly agentId: pulumi.Output<string>;
51
51
  /**
@@ -82,7 +82,7 @@ export interface GitOpsClusterState {
82
82
  */
83
83
  accountId?: pulumi.Input<string>;
84
84
  /**
85
- * Agent identifier of the GitOps cluster.
85
+ * Agent identifier of the GitOps cluster. (include scope prefix)
86
86
  */
87
87
  agentId?: pulumi.Input<string>;
88
88
  /**
@@ -111,7 +111,7 @@ export interface GitOpsClusterArgs {
111
111
  */
112
112
  accountId: pulumi.Input<string>;
113
113
  /**
114
- * Agent identifier of the GitOps cluster.
114
+ * Agent identifier of the GitOps cluster. (include scope prefix)
115
115
  */
116
116
  agentId: pulumi.Input<string>;
117
117
  /**
@@ -87,6 +87,8 @@ export declare class GitOpsRepository extends pulumi.CustomResource {
87
87
  readonly repos: pulumi.Output<outputs.platform.GitOpsRepositoryRepo[]>;
88
88
  /**
89
89
  * Update mask of the repository.
90
+ *
91
+ * @deprecated This field is deprecated and will be removed in a future release.
90
92
  */
91
93
  readonly updateMasks: pulumi.Output<outputs.platform.GitOpsRepositoryUpdateMask[] | undefined>;
92
94
  /**
@@ -153,6 +155,8 @@ export interface GitOpsRepositoryState {
153
155
  repos?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryRepo>[]>;
154
156
  /**
155
157
  * Update mask of the repository.
158
+ *
159
+ * @deprecated This field is deprecated and will be removed in a future release.
156
160
  */
157
161
  updateMasks?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryUpdateMask>[]>;
158
162
  /**
@@ -211,6 +215,8 @@ export interface GitOpsRepositoryArgs {
211
215
  repos: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryRepo>[]>;
212
216
  /**
213
217
  * Update mask of the repository.
218
+ *
219
+ * @deprecated This field is deprecated and will be removed in a future release.
214
220
  */
215
221
  updateMasks?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsRepositoryUpdateMask>[]>;
216
222
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"gitOpsRepository.js","sourceRoot":"","sources":["../../platform/gitOpsRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,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C,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5IL,4CA6IC;AA/HG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
@@ -41,19 +41,19 @@ export declare class GitopsAppProject extends pulumi.CustomResource {
41
41
  */
42
42
  static isInstance(obj: any): obj is GitopsAppProject;
43
43
  /**
44
- * Account identifier of the GitOps project.
44
+ * Account identifier of the GitOps project/agent.
45
45
  */
46
46
  readonly accountId: pulumi.Output<string>;
47
47
  /**
48
- * Agent identifier of the GitOps project.
48
+ * Agent identifier of the GitOps project. Project is created on agent scope.
49
49
  */
50
50
  readonly agentId: pulumi.Output<string>;
51
51
  /**
52
- * Org identifier of the GitOps project.
52
+ * Org identifier of the GitOps agent for which project is created.
53
53
  */
54
54
  readonly orgId: pulumi.Output<string | undefined>;
55
55
  /**
56
- * Project identifier of the GitOps repository.
56
+ * Project identifier of the GitOps agent for which project is created.
57
57
  */
58
58
  readonly projectId: pulumi.Output<string | undefined>;
59
59
  /**
@@ -65,7 +65,7 @@ export declare class GitopsAppProject extends pulumi.CustomResource {
65
65
  */
66
66
  readonly queryName: pulumi.Output<string>;
67
67
  /**
68
- * Indicates if the GitOps repository should be updated if existing and inserted if not.
68
+ * Indicates if the GitOps project should be updated if existing and inserted if not.
69
69
  */
70
70
  readonly upsert: pulumi.Output<boolean | undefined>;
71
71
  /**
@@ -82,19 +82,19 @@ export declare class GitopsAppProject extends pulumi.CustomResource {
82
82
  */
83
83
  export interface GitopsAppProjectState {
84
84
  /**
85
- * Account identifier of the GitOps project.
85
+ * Account identifier of the GitOps project/agent.
86
86
  */
87
87
  accountId?: pulumi.Input<string>;
88
88
  /**
89
- * Agent identifier of the GitOps project.
89
+ * Agent identifier of the GitOps project. Project is created on agent scope.
90
90
  */
91
91
  agentId?: pulumi.Input<string>;
92
92
  /**
93
- * Org identifier of the GitOps project.
93
+ * Org identifier of the GitOps agent for which project is created.
94
94
  */
95
95
  orgId?: pulumi.Input<string>;
96
96
  /**
97
- * Project identifier of the GitOps repository.
97
+ * Project identifier of the GitOps agent for which project is created.
98
98
  */
99
99
  projectId?: pulumi.Input<string>;
100
100
  /**
@@ -106,7 +106,7 @@ export interface GitopsAppProjectState {
106
106
  */
107
107
  queryName?: pulumi.Input<string>;
108
108
  /**
109
- * Indicates if the GitOps repository should be updated if existing and inserted if not.
109
+ * Indicates if the GitOps project should be updated if existing and inserted if not.
110
110
  */
111
111
  upsert?: pulumi.Input<boolean>;
112
112
  }
@@ -115,19 +115,19 @@ export interface GitopsAppProjectState {
115
115
  */
116
116
  export interface GitopsAppProjectArgs {
117
117
  /**
118
- * Account identifier of the GitOps project.
118
+ * Account identifier of the GitOps project/agent.
119
119
  */
120
120
  accountId: pulumi.Input<string>;
121
121
  /**
122
- * Agent identifier of the GitOps project.
122
+ * Agent identifier of the GitOps project. Project is created on agent scope.
123
123
  */
124
124
  agentId: pulumi.Input<string>;
125
125
  /**
126
- * Org identifier of the GitOps project.
126
+ * Org identifier of the GitOps agent for which project is created.
127
127
  */
128
128
  orgId?: pulumi.Input<string>;
129
129
  /**
130
- * Project identifier of the GitOps repository.
130
+ * Project identifier of the GitOps agent for which project is created.
131
131
  */
132
132
  projectId?: pulumi.Input<string>;
133
133
  /**
@@ -139,7 +139,7 @@ export interface GitopsAppProjectArgs {
139
139
  */
140
140
  queryName?: pulumi.Input<string>;
141
141
  /**
142
- * Indicates if the GitOps repository should be updated if existing and inserted if not.
142
+ * Indicates if the GitOps project should be updated if existing and inserted if not.
143
143
  */
144
144
  upsert?: pulumi.Input<boolean>;
145
145
  }
package/types/input.d.ts CHANGED
@@ -2698,6 +2698,106 @@ export declare namespace platform {
2698
2698
  */
2699
2699
  trust?: pulumi.Input<string>;
2700
2700
  }
2701
+ interface GetGitopsRepoCredCred {
2702
+ /**
2703
+ * Specifies whether helm-oci support should be enabled for this repo.
2704
+ */
2705
+ enableOci?: boolean;
2706
+ /**
2707
+ * Specifies the GitHub API URL for GitHub app authentication.
2708
+ */
2709
+ githubAppEnterpriseBaseUrl?: string;
2710
+ /**
2711
+ * Specifies the Github App ID of the app used to access the repo for GitHub app authentication.
2712
+ */
2713
+ githubAppId?: string;
2714
+ /**
2715
+ * Specifies the ID of the installed GitHub App for GitHub app authentication.
2716
+ */
2717
+ githubAppInstallationId?: string;
2718
+ /**
2719
+ * github*app*private_key specifies the private key PEM data for authentication via GitHub app.
2720
+ */
2721
+ githubAppPrivateKey?: string;
2722
+ /**
2723
+ * Password or PAT to be used for authenticating the remote repository.
2724
+ */
2725
+ password?: string;
2726
+ /**
2727
+ * SSH Key in PEM format for authenticating the repository. Used only for Git repository.
2728
+ */
2729
+ sshPrivateKey?: string;
2730
+ /**
2731
+ * Certificate in PEM format for authenticating at the repo server. This is used for mTLS.
2732
+ */
2733
+ tlsClientCertData?: string;
2734
+ /**
2735
+ * Private key in PEM format for authenticating at the repo server. This is used for mTLS.
2736
+ */
2737
+ tlsClientCertKey?: string;
2738
+ /**
2739
+ * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent
2740
+ */
2741
+ type?: string;
2742
+ /**
2743
+ * URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com"
2744
+ */
2745
+ url?: string;
2746
+ /**
2747
+ * Username to be used for authenticating the remote repository.
2748
+ */
2749
+ username?: string;
2750
+ }
2751
+ interface GetGitopsRepoCredCredArgs {
2752
+ /**
2753
+ * Specifies whether helm-oci support should be enabled for this repo.
2754
+ */
2755
+ enableOci?: pulumi.Input<boolean>;
2756
+ /**
2757
+ * Specifies the GitHub API URL for GitHub app authentication.
2758
+ */
2759
+ githubAppEnterpriseBaseUrl?: pulumi.Input<string>;
2760
+ /**
2761
+ * Specifies the Github App ID of the app used to access the repo for GitHub app authentication.
2762
+ */
2763
+ githubAppId?: pulumi.Input<string>;
2764
+ /**
2765
+ * Specifies the ID of the installed GitHub App for GitHub app authentication.
2766
+ */
2767
+ githubAppInstallationId?: pulumi.Input<string>;
2768
+ /**
2769
+ * github*app*private_key specifies the private key PEM data for authentication via GitHub app.
2770
+ */
2771
+ githubAppPrivateKey?: pulumi.Input<string>;
2772
+ /**
2773
+ * Password or PAT to be used for authenticating the remote repository.
2774
+ */
2775
+ password?: pulumi.Input<string>;
2776
+ /**
2777
+ * SSH Key in PEM format for authenticating the repository. Used only for Git repository.
2778
+ */
2779
+ sshPrivateKey?: pulumi.Input<string>;
2780
+ /**
2781
+ * Certificate in PEM format for authenticating at the repo server. This is used for mTLS.
2782
+ */
2783
+ tlsClientCertData?: pulumi.Input<string>;
2784
+ /**
2785
+ * Private key in PEM format for authenticating at the repo server. This is used for mTLS.
2786
+ */
2787
+ tlsClientCertKey?: pulumi.Input<string>;
2788
+ /**
2789
+ * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent
2790
+ */
2791
+ type?: pulumi.Input<string>;
2792
+ /**
2793
+ * URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com"
2794
+ */
2795
+ url?: pulumi.Input<string>;
2796
+ /**
2797
+ * Username to be used for authenticating the remote repository.
2798
+ */
2799
+ username?: pulumi.Input<string>;
2800
+ }
2701
2801
  interface GetInfrastructureGitDetails {
2702
2802
  /**
2703
2803
  * Name of the branch.
@@ -4558,11 +4658,11 @@ export declare namespace platform {
4558
4658
  }
4559
4659
  interface GitopsAppProjectProject {
4560
4660
  /**
4561
- * Metadata details for the GitOps project.
4661
+ * K8s object metadata for the Argo project.
4562
4662
  */
4563
4663
  metadatas: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectMetadata>[]>;
4564
4664
  /**
4565
- * Specification details for the GitOps project.
4665
+ * Specification details for the Argo project.
4566
4666
  */
4567
4667
  specs: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpec>[]>;
4568
4668
  }
@@ -4596,7 +4696,7 @@ export declare namespace platform {
4596
4696
  */
4597
4697
  name?: pulumi.Input<string>;
4598
4698
  /**
4599
- * Namespace of the GitOps project.
4699
+ * Namespace of the GitOps project. This must be the same as the namespace where the agent is installed
4600
4700
  */
4601
4701
  namespace?: pulumi.Input<string>;
4602
4702
  /**
@@ -4644,19 +4744,19 @@ export declare namespace platform {
4644
4744
  */
4645
4745
  clusterResourceBlacklists?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecClusterResourceBlacklist>[]>;
4646
4746
  /**
4647
- * Cluster resource whitelist for the GitOps project.
4747
+ * Cluster resource whitelist for the Argo project.
4648
4748
  */
4649
4749
  clusterResourceWhitelists?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecClusterResourceWhitelist>[]>;
4650
4750
  /**
4651
- * Description of the GitOps project.
4751
+ * Description of the Argo project.
4652
4752
  */
4653
4753
  description?: pulumi.Input<string>;
4654
4754
  /**
4655
- * Destinations for deployment of the GitOps project.
4755
+ * Allowed destinations for applications in this Argo project.
4656
4756
  */
4657
4757
  destinations?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecDestination>[]>;
4658
4758
  /**
4659
- * Namespace resource blacklist for the GitOps project.
4759
+ * Namespace resource blacklist for the Argo project.
4660
4760
  */
4661
4761
  namespaceResourceBlacklists?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecNamespaceResourceBlacklist>[]>;
4662
4762
  /**
@@ -4664,11 +4764,11 @@ export declare namespace platform {
4664
4764
  */
4665
4765
  namespaceResourceWhitelists?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecNamespaceResourceWhitelist>[]>;
4666
4766
  /**
4667
- * Orphaned resources configuration for the GitOps project.
4767
+ * OrphanedResources specifies if agent should monitor orphaned resources of apps in this project
4668
4768
  */
4669
4769
  orphanedResources?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecOrphanedResource>[]>;
4670
4770
  /**
4671
- * Roles associated with the GitOps project.
4771
+ * Roles associated with the Argo project.
4672
4772
  */
4673
4773
  roles?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecRole>[]>;
4674
4774
  /**
@@ -4676,7 +4776,7 @@ export declare namespace platform {
4676
4776
  */
4677
4777
  signatureKeys?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProjectSpecSignatureKey>[]>;
4678
4778
  /**
4679
- * Source repositories for the GitOps project.
4779
+ * Allowed Source repositories for the Argo project.
4680
4780
  */
4681
4781
  sourceRepos?: pulumi.Input<pulumi.Input<string>[]>;
4682
4782
  /**
@@ -4706,15 +4806,15 @@ export declare namespace platform {
4706
4806
  }
4707
4807
  interface GitopsAppProjectProjectSpecDestination {
4708
4808
  /**
4709
- * Name of the destination.
4809
+ * Name of the destination cluster.
4710
4810
  */
4711
4811
  name?: pulumi.Input<string>;
4712
4812
  /**
4713
- * Namespace of the destination.
4813
+ * Permitted Namespaces for deployment in the destination cluster.
4714
4814
  */
4715
4815
  namespace?: pulumi.Input<string>;
4716
4816
  /**
4717
- * Server URL of the destination.
4817
+ * Server URL of the destination cluster.
4718
4818
  */
4719
4819
  server?: pulumi.Input<string>;
4720
4820
  }
@@ -4780,7 +4880,7 @@ export declare namespace platform {
4780
4880
  */
4781
4881
  name: pulumi.Input<string>;
4782
4882
  /**
4783
- * Policies associated with the role.
4883
+ * Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness.
4784
4884
  */
4785
4885
  policies?: pulumi.Input<pulumi.Input<string>[]>;
4786
4886
  }
package/types/output.d.ts CHANGED
@@ -3202,7 +3202,7 @@ export declare namespace platform {
3202
3202
  */
3203
3203
  destinations: outputs.platform.GetGitopsApplicationsApplicationSpecDestination[];
3204
3204
  /**
3205
- * The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.
3205
+ * The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.
3206
3206
  */
3207
3207
  project?: string;
3208
3208
  /**
@@ -3304,7 +3304,7 @@ export declare namespace platform {
3304
3304
  */
3305
3305
  code: boolean;
3306
3306
  /**
3307
- * Name of the GitOps application.
3307
+ * Name of the external variables of jsonnet application.
3308
3308
  */
3309
3309
  name: string;
3310
3310
  /**
@@ -3318,7 +3318,7 @@ export declare namespace platform {
3318
3318
  */
3319
3319
  code: boolean;
3320
3320
  /**
3321
- * Name of the GitOps application.
3321
+ * Name of the TLAS of the jsonnet application.
3322
3322
  */
3323
3323
  name: string;
3324
3324
  /**
@@ -3358,7 +3358,7 @@ export declare namespace platform {
3358
3358
  }
3359
3359
  interface GetGitopsApplicationsApplicationSpecSourceHelmFileParameter {
3360
3360
  /**
3361
- * Name of the GitOps application.
3361
+ * Name of the helm parameter.
3362
3362
  */
3363
3363
  name: string;
3364
3364
  /**
@@ -3372,7 +3372,7 @@ export declare namespace platform {
3372
3372
  */
3373
3373
  forceString: boolean;
3374
3374
  /**
3375
- * Name of the GitOps application.
3375
+ * Name of the helm parameter.
3376
3376
  */
3377
3377
  name: string;
3378
3378
  /**
@@ -3396,7 +3396,7 @@ export declare namespace platform {
3396
3396
  */
3397
3397
  component: string;
3398
3398
  /**
3399
- * Name of the GitOps application.
3399
+ * Name of the parameter of the ksonnet application.
3400
3400
  */
3401
3401
  name: string;
3402
3402
  /**
@@ -3448,13 +3448,13 @@ export declare namespace platform {
3448
3448
  */
3449
3449
  envs: outputs.platform.GetGitopsApplicationsApplicationSpecSourcePluginEnv[];
3450
3450
  /**
3451
- * Name of the GitOps application.
3451
+ * Name of the plugin.
3452
3452
  */
3453
3453
  name: string;
3454
3454
  }
3455
3455
  interface GetGitopsApplicationsApplicationSpecSourcePluginEnv {
3456
3456
  /**
3457
- * Name of the GitOps application.
3457
+ * Name of the variable, usually expressed in uppercase.
3458
3458
  */
3459
3459
  name: string;
3460
3460
  /**
@@ -5786,31 +5786,31 @@ export declare namespace platform {
5786
5786
  /**
5787
5787
  * Specifies the Github App ID of the app used to access the repo for GitHub app authentication.
5788
5788
  */
5789
- githubAppId?: string;
5789
+ githubAppId: string;
5790
5790
  /**
5791
5791
  * Specifies the ID of the installed GitHub App for GitHub app authentication.
5792
5792
  */
5793
- githubAppInstallationId?: string;
5793
+ githubAppInstallationId: string;
5794
5794
  /**
5795
5795
  * github*app*private_key specifies the private key PEM data for authentication via GitHub app.
5796
5796
  */
5797
- githubAppPrivateKey?: string;
5797
+ githubAppPrivateKey: string;
5798
5798
  /**
5799
5799
  * Password or PAT to be used for authenticating the remote repository.
5800
5800
  */
5801
- password?: string;
5801
+ password: string;
5802
5802
  /**
5803
5803
  * SSH Key in PEM format for authenticating the repository. Used only for Git repository.
5804
5804
  */
5805
- sshPrivateKey?: string;
5805
+ sshPrivateKey: string;
5806
5806
  /**
5807
5807
  * Certificate in PEM format for authenticating at the repo server. This is used for mTLS.
5808
5808
  */
5809
- tlsClientCertData?: string;
5809
+ tlsClientCertData: string;
5810
5810
  /**
5811
5811
  * Private key in PEM format for authenticating at the repo server. This is used for mTLS.
5812
5812
  */
5813
- tlsClientCertKey?: string;
5813
+ tlsClientCertKey: string;
5814
5814
  /**
5815
5815
  * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent
5816
5816
  */
@@ -5932,15 +5932,15 @@ export declare namespace platform {
5932
5932
  /**
5933
5933
  * Id of the GitHub app used to access the repo.
5934
5934
  */
5935
- githubAppId?: string;
5935
+ githubAppId: string;
5936
5936
  /**
5937
5937
  * Installation id of the GitHub app used to access the repo.
5938
5938
  */
5939
- githubAppInstallationId?: string;
5939
+ githubAppInstallationId: string;
5940
5940
  /**
5941
5941
  * GitHub app private key PEM data.
5942
5942
  */
5943
- githubAppPrivateKey?: string;
5943
+ githubAppPrivateKey: string;
5944
5944
  /**
5945
5945
  * Indicates if the credentials were inherited from a repository credential.
5946
5946
  */
@@ -5960,7 +5960,7 @@ export declare namespace platform {
5960
5960
  /**
5961
5961
  * Password or PAT to be used for authenticating the remote repository.
5962
5962
  */
5963
- password?: string;
5963
+ password: string;
5964
5964
  /**
5965
5965
  * The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness.
5966
5966
  */
@@ -5980,11 +5980,11 @@ export declare namespace platform {
5980
5980
  /**
5981
5981
  * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
5982
5982
  */
5983
- tlsClientCertData?: string;
5983
+ tlsClientCertData: string;
5984
5984
  /**
5985
5985
  * Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded.
5986
5986
  */
5987
- tlsClientCertKey?: string;
5987
+ tlsClientCertKey: string;
5988
5988
  /**
5989
5989
  * Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
5990
5990
  */
@@ -6136,11 +6136,11 @@ export declare namespace platform {
6136
6136
  }
6137
6137
  interface GitopsAppProjectProject {
6138
6138
  /**
6139
- * Metadata details for the GitOps project.
6139
+ * K8s object metadata for the Argo project.
6140
6140
  */
6141
6141
  metadatas: outputs.platform.GitopsAppProjectProjectMetadata[];
6142
6142
  /**
6143
- * Specification details for the GitOps project.
6143
+ * Specification details for the Argo project.
6144
6144
  */
6145
6145
  specs: outputs.platform.GitopsAppProjectProjectSpec[];
6146
6146
  }
@@ -6174,7 +6174,7 @@ export declare namespace platform {
6174
6174
  */
6175
6175
  name?: string;
6176
6176
  /**
6177
- * Namespace of the GitOps project.
6177
+ * Namespace of the GitOps project. This must be the same as the namespace where the agent is installed
6178
6178
  */
6179
6179
  namespace?: string;
6180
6180
  /**
@@ -6222,19 +6222,19 @@ export declare namespace platform {
6222
6222
  */
6223
6223
  clusterResourceBlacklists?: outputs.platform.GitopsAppProjectProjectSpecClusterResourceBlacklist[];
6224
6224
  /**
6225
- * Cluster resource whitelist for the GitOps project.
6225
+ * Cluster resource whitelist for the Argo project.
6226
6226
  */
6227
6227
  clusterResourceWhitelists?: outputs.platform.GitopsAppProjectProjectSpecClusterResourceWhitelist[];
6228
6228
  /**
6229
- * Description of the GitOps project.
6229
+ * Description of the Argo project.
6230
6230
  */
6231
6231
  description?: string;
6232
6232
  /**
6233
- * Destinations for deployment of the GitOps project.
6233
+ * Allowed destinations for applications in this Argo project.
6234
6234
  */
6235
6235
  destinations?: outputs.platform.GitopsAppProjectProjectSpecDestination[];
6236
6236
  /**
6237
- * Namespace resource blacklist for the GitOps project.
6237
+ * Namespace resource blacklist for the Argo project.
6238
6238
  */
6239
6239
  namespaceResourceBlacklists?: outputs.platform.GitopsAppProjectProjectSpecNamespaceResourceBlacklist[];
6240
6240
  /**
@@ -6242,11 +6242,11 @@ export declare namespace platform {
6242
6242
  */
6243
6243
  namespaceResourceWhitelists?: outputs.platform.GitopsAppProjectProjectSpecNamespaceResourceWhitelist[];
6244
6244
  /**
6245
- * Orphaned resources configuration for the GitOps project.
6245
+ * OrphanedResources specifies if agent should monitor orphaned resources of apps in this project
6246
6246
  */
6247
6247
  orphanedResources?: outputs.platform.GitopsAppProjectProjectSpecOrphanedResource[];
6248
6248
  /**
6249
- * Roles associated with the GitOps project.
6249
+ * Roles associated with the Argo project.
6250
6250
  */
6251
6251
  roles?: outputs.platform.GitopsAppProjectProjectSpecRole[];
6252
6252
  /**
@@ -6254,7 +6254,7 @@ export declare namespace platform {
6254
6254
  */
6255
6255
  signatureKeys?: outputs.platform.GitopsAppProjectProjectSpecSignatureKey[];
6256
6256
  /**
6257
- * Source repositories for the GitOps project.
6257
+ * Allowed Source repositories for the Argo project.
6258
6258
  */
6259
6259
  sourceRepos?: string[];
6260
6260
  /**
@@ -6284,15 +6284,15 @@ export declare namespace platform {
6284
6284
  }
6285
6285
  interface GitopsAppProjectProjectSpecDestination {
6286
6286
  /**
6287
- * Name of the destination.
6287
+ * Name of the destination cluster.
6288
6288
  */
6289
6289
  name?: string;
6290
6290
  /**
6291
- * Namespace of the destination.
6291
+ * Permitted Namespaces for deployment in the destination cluster.
6292
6292
  */
6293
6293
  namespace?: string;
6294
6294
  /**
6295
- * Server URL of the destination.
6295
+ * Server URL of the destination cluster.
6296
6296
  */
6297
6297
  server?: string;
6298
6298
  }
@@ -6358,7 +6358,7 @@ export declare namespace platform {
6358
6358
  */
6359
6359
  name: string;
6360
6360
  /**
6361
- * Policies associated with the role.
6361
+ * Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness.
6362
6362
  */
6363
6363
  policies?: string[];
6364
6364
  }