@pulumi/harness 0.16.7 → 0.16.8
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/autostopping/alert.d.ts +2 -2
- package/autostopping/alert.js +2 -2
- package/autostopping/gcpProxy.d.ts +4 -4
- package/autostopping/gcpProxy.js +4 -4
- package/autostopping/ruleEcs.d.ts +4 -4
- package/autostopping/ruleEcs.js +4 -4
- package/autostopping/ruleRds.d.ts +5 -5
- package/autostopping/ruleRds.js +5 -5
- package/autostopping/ruleScaleGroup.d.ts +12 -12
- package/autostopping/ruleScaleGroup.js +12 -12
- package/autostopping/ruleVm.d.ts +22 -22
- package/autostopping/ruleVm.js +22 -22
- package/chaos/actionTemplate.d.ts +55 -55
- package/chaos/actionTemplate.js +55 -55
- package/chaos/experimentTemplate.d.ts +84 -84
- package/chaos/experimentTemplate.js +84 -84
- package/chaos/faultTemplate.d.ts +124 -124
- package/chaos/faultTemplate.js +124 -124
- package/chaos/imageRegistry.d.ts +6 -6
- package/chaos/imageRegistry.js +6 -6
- package/chaos/securityGovernanceCondition.d.ts +19 -19
- package/chaos/securityGovernanceCondition.js +19 -19
- package/chaos/securityGovernanceConditionV3.d.ts +13 -13
- package/chaos/securityGovernanceConditionV3.js +13 -13
- package/chaos/securityGovernanceRule.d.ts +21 -21
- package/chaos/securityGovernanceRule.js +21 -21
- package/chaos/securityGovernanceRuleV3.d.ts +9 -9
- package/chaos/securityGovernanceRuleV3.js +9 -9
- package/cluster/orchestrator.d.ts +1 -1
- package/cluster/orchestrator.js +1 -1
- package/cluster/orchestratorConfig.d.ts +9 -9
- package/cluster/orchestratorConfig.js +9 -9
- package/encryptedText.d.ts +3 -3
- package/encryptedText.js +3 -3
- package/environment.d.ts +7 -7
- package/environment.js +7 -7
- package/infrastructureDefinition.d.ts +13 -13
- package/infrastructureDefinition.js +13 -13
- package/package.json +2 -2
- package/platform/appDynamicsConnector.d.ts +8 -8
- package/platform/appDynamicsConnector.js +8 -8
- package/platform/artifactoryConnector.d.ts +12 -12
- package/platform/artifactoryConnector.js +12 -12
- package/platform/awsCCConnector.d.ts +4 -4
- package/platform/awsCCConnector.js +4 -4
- package/platform/azureCloudCostConnector.d.ts +12 -12
- package/platform/azureCloudCostConnector.js +12 -12
- package/platform/azureCloudProviderConnector.d.ts +31 -31
- package/platform/azureCloudProviderConnector.js +31 -31
- package/platform/bitbucketConnector.d.ts +27 -27
- package/platform/bitbucketConnector.js +27 -27
- package/platform/connectorCustomhealthsource.d.ts +6 -6
- package/platform/connectorCustomhealthsource.js +6 -6
- package/platform/connectorGcpKms.d.ts +15 -15
- package/platform/connectorGcpKms.js +15 -15
- package/platform/connectorRancher.d.ts +3 -3
- package/platform/connectorRancher.js +3 -3
- package/platform/dbSchema.d.ts +32 -32
- package/platform/dbSchema.js +32 -32
- package/platform/elasticsearchConnector.d.ts +8 -8
- package/platform/elasticsearchConnector.js +8 -8
- package/platform/environment.d.ts +11 -11
- package/platform/environment.js +11 -11
- package/platform/environmentClustersMapping.d.ts +6 -6
- package/platform/environmentClustersMapping.js +6 -6
- package/platform/filters.d.ts +4 -4
- package/platform/filters.js +4 -4
- package/platform/gcpCloudCostConnector.d.ts +4 -4
- package/platform/gcpCloudCostConnector.js +4 -4
- package/platform/gcpSecretManagerConnector.d.ts +8 -8
- package/platform/gcpSecretManagerConnector.js +8 -8
- package/platform/getEnvironmentClustersMapping.d.ts +12 -12
- package/platform/getEnvironmentClustersMapping.js +12 -12
- package/platform/getPolicySet.d.ts +8 -8
- package/platform/getPolicySet.js +8 -8
- package/platform/gitOpsAgent.d.ts +4 -4
- package/platform/gitOpsAgent.js +4 -4
- package/platform/gitOpsApplications.d.ts +9 -9
- package/platform/gitOpsApplications.js +9 -9
- package/platform/gitOpsGnupg.d.ts +3 -3
- package/platform/gitOpsGnupg.js +3 -3
- package/platform/gitOpsRepoCert.d.ts +1 -1
- package/platform/gitOpsRepoCert.js +1 -1
- package/platform/gitOpsRepoCred.d.ts +5 -5
- package/platform/gitOpsRepoCred.js +5 -5
- package/platform/gitopsAppProjectMapping.d.ts +12 -0
- package/platform/gitopsAppProjectMapping.d.ts.map +1 -1
- package/platform/gitopsAppProjectMapping.js +2 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +59 -59
- package/platform/gitopsApplicationset.js +59 -59
- package/platform/harLifecycleRule.d.ts +20 -20
- package/platform/harLifecycleRule.js +20 -20
- package/platform/harRegistry.d.ts +69 -69
- package/platform/harRegistry.js +69 -69
- package/platform/iacmAnsibleInventory.d.ts +11 -11
- package/platform/iacmAnsibleInventory.js +11 -11
- package/platform/iacmAnsiblePlaybook.d.ts +10 -10
- package/platform/iacmAnsiblePlaybook.js +10 -10
- package/platform/idpScorecard.d.ts +14 -14
- package/platform/idpScorecard.js +14 -14
- package/platform/idpScorecardCheck.d.ts +9 -9
- package/platform/idpScorecardCheck.js +9 -9
- package/platform/infraVariableSet.d.ts +21 -21
- package/platform/infraVariableSet.js +21 -21
- package/platform/infrastructure.d.ts +7 -7
- package/platform/infrastructure.js +7 -7
- package/platform/kubernetesConnector.d.ts +17 -17
- package/platform/kubernetesConnector.js +17 -17
- package/platform/monitoredService.d.ts +123 -123
- package/platform/monitoredService.js +123 -123
- package/platform/notificationRule.d.ts +10 -10
- package/platform/notificationRule.js +10 -10
- package/platform/pipeline.d.ts +9 -9
- package/platform/pipeline.js +9 -9
- package/platform/pipelineCentralNotificationRule.d.ts +22 -22
- package/platform/pipelineCentralNotificationRule.js +22 -22
- package/platform/pipelineFilters.d.ts +43 -43
- package/platform/pipelineFilters.js +43 -43
- package/platform/prometheusConnector.d.ts +6 -6
- package/platform/prometheusConnector.js +6 -6
- package/platform/repo.d.ts +4 -4
- package/platform/repo.js +4 -4
- package/platform/resourceGroup.d.ts +23 -23
- package/platform/resourceGroup.js +23 -23
- package/platform/secretFile.d.ts +10 -10
- package/platform/secretFile.js +10 -10
- package/platform/secretText.d.ts +13 -13
- package/platform/secretText.js +13 -13
- package/platform/secretWinrm.d.ts +89 -89
- package/platform/secretWinrm.js +89 -89
- package/platform/service.d.ts +10 -10
- package/platform/service.js +10 -10
- package/platform/slo.d.ts +17 -17
- package/platform/slo.js +17 -17
- package/platform/splunkConnector.d.ts +11 -11
- package/platform/splunkConnector.js +11 -11
- package/platform/templateFilters.d.ts +4 -4
- package/platform/templateFilters.js +4 -4
- package/platform/usergroup.d.ts +21 -21
- package/platform/usergroup.js +21 -21
- package/platform/variables.d.ts +4 -4
- package/platform/variables.js +4 -4
- package/platform/workspace.d.ts +32 -32
- package/platform/workspace.js +32 -32
- package/platformCcmFilters.d.ts +4 -4
- package/platformCcmFilters.js +4 -4
- package/service/discoveryAgent.d.ts +62 -62
- package/service/discoveryAgent.js +62 -62
- package/service/discoverySetting.d.ts +2 -2
- package/service/discoverySetting.js +2 -2
- package/service/kubernetes.d.ts +4 -4
- package/service/kubernetes.js +4 -4
- package/sshCredential.d.ts +3 -3
- package/sshCredential.js +3 -3
- package/userGroup.d.ts +6 -6
- package/userGroup.js +6 -6
|
@@ -39,21 +39,19 @@ const utilities = __importStar(require("../utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // data source for gitops clusters mapped to a project level env
|
|
41
41
|
* const example = harness.platform.getEnvironmentClustersMapping({
|
|
42
|
-
* identifier: "mycustomidentifier",
|
|
43
|
-
* orgId: "orgIdentifer",
|
|
44
|
-
* projectId: "projectIdentifier",
|
|
45
|
-
* envId: "exampleEnvId",
|
|
46
42
|
* clusters: [{
|
|
47
43
|
* identifier: "incluster",
|
|
48
44
|
* name: "in-cluster",
|
|
49
45
|
* agentIdentifier: "account.gitopsagentdev",
|
|
50
46
|
* scope: "ACCOUNT",
|
|
51
47
|
* }],
|
|
48
|
+
* identifier: "mycustomidentifier",
|
|
49
|
+
* orgId: "orgIdentifer",
|
|
50
|
+
* projectId: "projectIdentifier",
|
|
51
|
+
* envId: "exampleEnvId",
|
|
52
52
|
* });
|
|
53
53
|
* // data source for two gitops clusters mapped to an account level env
|
|
54
54
|
* const example2 = harness.platform.getEnvironmentClustersMapping({
|
|
55
|
-
* identifier: "mycustomidentifier",
|
|
56
|
-
* envId: "env1",
|
|
57
55
|
* clusters: [
|
|
58
56
|
* {
|
|
59
57
|
* identifier: "clusterA",
|
|
@@ -68,6 +66,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
68
66
|
* scope: "ACCOUNT",
|
|
69
67
|
* },
|
|
70
68
|
* ],
|
|
69
|
+
* identifier: "mycustomidentifier",
|
|
70
|
+
* envId: "env1",
|
|
71
71
|
* });
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
@@ -93,21 +93,19 @@ exports.getEnvironmentClustersMapping = getEnvironmentClustersMapping;
|
|
|
93
93
|
*
|
|
94
94
|
* // data source for gitops clusters mapped to a project level env
|
|
95
95
|
* const example = harness.platform.getEnvironmentClustersMapping({
|
|
96
|
-
* identifier: "mycustomidentifier",
|
|
97
|
-
* orgId: "orgIdentifer",
|
|
98
|
-
* projectId: "projectIdentifier",
|
|
99
|
-
* envId: "exampleEnvId",
|
|
100
96
|
* clusters: [{
|
|
101
97
|
* identifier: "incluster",
|
|
102
98
|
* name: "in-cluster",
|
|
103
99
|
* agentIdentifier: "account.gitopsagentdev",
|
|
104
100
|
* scope: "ACCOUNT",
|
|
105
101
|
* }],
|
|
102
|
+
* identifier: "mycustomidentifier",
|
|
103
|
+
* orgId: "orgIdentifer",
|
|
104
|
+
* projectId: "projectIdentifier",
|
|
105
|
+
* envId: "exampleEnvId",
|
|
106
106
|
* });
|
|
107
107
|
* // data source for two gitops clusters mapped to an account level env
|
|
108
108
|
* const example2 = harness.platform.getEnvironmentClustersMapping({
|
|
109
|
-
* identifier: "mycustomidentifier",
|
|
110
|
-
* envId: "env1",
|
|
111
109
|
* clusters: [
|
|
112
110
|
* {
|
|
113
111
|
* identifier: "clusterA",
|
|
@@ -122,6 +120,8 @@ exports.getEnvironmentClustersMapping = getEnvironmentClustersMapping;
|
|
|
122
120
|
* scope: "ACCOUNT",
|
|
123
121
|
* },
|
|
124
122
|
* ],
|
|
123
|
+
* identifier: "mycustomidentifier",
|
|
124
|
+
* envId: "env1",
|
|
125
125
|
* });
|
|
126
126
|
* ```
|
|
127
127
|
*/
|
|
@@ -11,15 +11,15 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const test = harness.platform.getPolicySet({
|
|
14
|
+
* policyReferences: [{
|
|
15
|
+
* identifier: "always_run",
|
|
16
|
+
* severity: "warning",
|
|
17
|
+
* }],
|
|
14
18
|
* identifier: "harness_platform_policyset.test.identifier",
|
|
15
19
|
* name: "harness_platform_policyset.test.name",
|
|
16
20
|
* action: "onrun",
|
|
17
21
|
* type: "pipeline",
|
|
18
22
|
* enabled: true,
|
|
19
|
-
* policyReferences: [{
|
|
20
|
-
* identifier: "always_run",
|
|
21
|
-
* severity: "warning",
|
|
22
|
-
* }],
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
@@ -132,15 +132,15 @@ export interface GetPolicySetResult {
|
|
|
132
132
|
* import * as harness from "@pulumi/harness";
|
|
133
133
|
*
|
|
134
134
|
* const test = harness.platform.getPolicySet({
|
|
135
|
+
* policyReferences: [{
|
|
136
|
+
* identifier: "always_run",
|
|
137
|
+
* severity: "warning",
|
|
138
|
+
* }],
|
|
135
139
|
* identifier: "harness_platform_policyset.test.identifier",
|
|
136
140
|
* name: "harness_platform_policyset.test.name",
|
|
137
141
|
* action: "onrun",
|
|
138
142
|
* type: "pipeline",
|
|
139
143
|
* enabled: true,
|
|
140
|
-
* policyReferences: [{
|
|
141
|
-
* identifier: "always_run",
|
|
142
|
-
* severity: "warning",
|
|
143
|
-
* }],
|
|
144
144
|
* });
|
|
145
145
|
* ```
|
|
146
146
|
*/
|
package/platform/getPolicySet.js
CHANGED
|
@@ -38,15 +38,15 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const test = harness.platform.getPolicySet({
|
|
41
|
+
* policyReferences: [{
|
|
42
|
+
* identifier: "always_run",
|
|
43
|
+
* severity: "warning",
|
|
44
|
+
* }],
|
|
41
45
|
* identifier: "harness_platform_policyset.test.identifier",
|
|
42
46
|
* name: "harness_platform_policyset.test.name",
|
|
43
47
|
* action: "onrun",
|
|
44
48
|
* type: "pipeline",
|
|
45
49
|
* enabled: true,
|
|
46
|
-
* policyReferences: [{
|
|
47
|
-
* identifier: "always_run",
|
|
48
|
-
* severity: "warning",
|
|
49
|
-
* }],
|
|
50
50
|
* });
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
@@ -75,15 +75,15 @@ exports.getPolicySet = getPolicySet;
|
|
|
75
75
|
* import * as harness from "@pulumi/harness";
|
|
76
76
|
*
|
|
77
77
|
* const test = harness.platform.getPolicySet({
|
|
78
|
+
* policyReferences: [{
|
|
79
|
+
* identifier: "always_run",
|
|
80
|
+
* severity: "warning",
|
|
81
|
+
* }],
|
|
78
82
|
* identifier: "harness_platform_policyset.test.identifier",
|
|
79
83
|
* name: "harness_platform_policyset.test.name",
|
|
80
84
|
* action: "onrun",
|
|
81
85
|
* type: "pipeline",
|
|
82
86
|
* enabled: true,
|
|
83
|
-
* policyReferences: [{
|
|
84
|
-
* identifier: "always_run",
|
|
85
|
-
* severity: "warning",
|
|
86
|
-
* }],
|
|
87
87
|
* });
|
|
88
88
|
* ```
|
|
89
89
|
*/
|
|
@@ -11,16 +11,16 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.platform.GitOpsAgent("example", {
|
|
14
|
+
* metadatas: [{
|
|
15
|
+
* namespace: "namespace",
|
|
16
|
+
* highAvailability: true,
|
|
17
|
+
* }],
|
|
14
18
|
* identifier: "identifier",
|
|
15
19
|
* accountId: "account_id",
|
|
16
20
|
* projectId: "project_id",
|
|
17
21
|
* orgId: "org_id",
|
|
18
22
|
* name: "name",
|
|
19
23
|
* type: "MANAGED_ARGO_PROVIDER",
|
|
20
|
-
* metadatas: [{
|
|
21
|
-
* namespace: "namespace",
|
|
22
|
-
* highAvailability: true,
|
|
23
|
-
* }],
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*
|
package/platform/gitOpsAgent.js
CHANGED
|
@@ -38,16 +38,16 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.platform.GitOpsAgent("example", {
|
|
41
|
+
* metadatas: [{
|
|
42
|
+
* namespace: "namespace",
|
|
43
|
+
* highAvailability: true,
|
|
44
|
+
* }],
|
|
41
45
|
* identifier: "identifier",
|
|
42
46
|
* accountId: "account_id",
|
|
43
47
|
* projectId: "project_id",
|
|
44
48
|
* orgId: "org_id",
|
|
45
49
|
* name: "name",
|
|
46
50
|
* type: "MANAGED_ARGO_PROVIDER",
|
|
47
|
-
* metadatas: [{
|
|
48
|
-
* namespace: "namespace",
|
|
49
|
-
* highAvailability: true,
|
|
50
|
-
* }],
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*
|
|
@@ -21,6 +21,15 @@ import * as outputs from "../types/output";
|
|
|
21
21
|
* name: "appname123",
|
|
22
22
|
* }],
|
|
23
23
|
* specs: [{
|
|
24
|
+
* destinations: [{
|
|
25
|
+
* namespace: "namespace-123",
|
|
26
|
+
* server: "https://1.3.4.5",
|
|
27
|
+
* }],
|
|
28
|
+
* sources: [{
|
|
29
|
+
* targetRevision: "master",
|
|
30
|
+
* repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
|
|
31
|
+
* path: "helm-guestbook",
|
|
32
|
+
* }],
|
|
24
33
|
* syncPolicies: [{
|
|
25
34
|
* syncOptions: [
|
|
26
35
|
* "PrunePropagationPolicy=undefined",
|
|
@@ -34,15 +43,6 @@ import * as outputs from "../types/output";
|
|
|
34
43
|
* "retry=false",
|
|
35
44
|
* ],
|
|
36
45
|
* }],
|
|
37
|
-
* sources: [{
|
|
38
|
-
* targetRevision: "master",
|
|
39
|
-
* repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
|
|
40
|
-
* path: "helm-guestbook",
|
|
41
|
-
* }],
|
|
42
|
-
* destinations: [{
|
|
43
|
-
* namespace: "namespace-123",
|
|
44
|
-
* server: "https://1.3.4.5",
|
|
45
|
-
* }],
|
|
46
46
|
* }],
|
|
47
47
|
* }],
|
|
48
48
|
* projectId: "project_id",
|
|
@@ -48,6 +48,15 @@ const utilities = __importStar(require("../utilities"));
|
|
|
48
48
|
* name: "appname123",
|
|
49
49
|
* }],
|
|
50
50
|
* specs: [{
|
|
51
|
+
* destinations: [{
|
|
52
|
+
* namespace: "namespace-123",
|
|
53
|
+
* server: "https://1.3.4.5",
|
|
54
|
+
* }],
|
|
55
|
+
* sources: [{
|
|
56
|
+
* targetRevision: "master",
|
|
57
|
+
* repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
|
|
58
|
+
* path: "helm-guestbook",
|
|
59
|
+
* }],
|
|
51
60
|
* syncPolicies: [{
|
|
52
61
|
* syncOptions: [
|
|
53
62
|
* "PrunePropagationPolicy=undefined",
|
|
@@ -61,15 +70,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
61
70
|
* "retry=false",
|
|
62
71
|
* ],
|
|
63
72
|
* }],
|
|
64
|
-
* sources: [{
|
|
65
|
-
* targetRevision: "master",
|
|
66
|
-
* repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
|
|
67
|
-
* path: "helm-guestbook",
|
|
68
|
-
* }],
|
|
69
|
-
* destinations: [{
|
|
70
|
-
* namespace: "namespace-123",
|
|
71
|
-
* server: "https://1.3.4.5",
|
|
72
|
-
* }],
|
|
73
73
|
* }],
|
|
74
74
|
* }],
|
|
75
75
|
* projectId: "project_id",
|
|
@@ -11,14 +11,14 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.platform.GitOpsGnupg("example", {
|
|
14
|
-
* accountId: "account_id",
|
|
15
|
-
* agentId: "agent_id",
|
|
16
14
|
* requests: [{
|
|
17
|
-
* upsert: true,
|
|
18
15
|
* publickeys: [{
|
|
19
16
|
* keyData: "-----BEGIN PGP PUBLIC KEY BLOCK-----XXXXXX-----END PGP PUBLIC KEY BLOCK-----",
|
|
20
17
|
* }],
|
|
18
|
+
* upsert: true,
|
|
21
19
|
* }],
|
|
20
|
+
* accountId: "account_id",
|
|
21
|
+
* agentId: "agent_id",
|
|
22
22
|
* }, {
|
|
23
23
|
* ignoreChanges: ["requests[0].upsert"],
|
|
24
24
|
* });
|
package/platform/gitOpsGnupg.js
CHANGED
|
@@ -38,14 +38,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.platform.GitOpsGnupg("example", {
|
|
41
|
-
* accountId: "account_id",
|
|
42
|
-
* agentId: "agent_id",
|
|
43
41
|
* requests: [{
|
|
44
|
-
* upsert: true,
|
|
45
42
|
* publickeys: [{
|
|
46
43
|
* keyData: "-----BEGIN PGP PUBLIC KEY BLOCK-----XXXXXX-----END PGP PUBLIC KEY BLOCK-----",
|
|
47
44
|
* }],
|
|
45
|
+
* upsert: true,
|
|
48
46
|
* }],
|
|
47
|
+
* accountId: "account_id",
|
|
48
|
+
* agentId: "agent_id",
|
|
49
49
|
* }, {
|
|
50
50
|
* ignoreChanges: ["requests[0].upsert"],
|
|
51
51
|
* });
|
|
@@ -13,13 +13,13 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* const example = new harness.platform.GitOpsRepoCert("example", {
|
|
14
14
|
* requests: [{
|
|
15
15
|
* certificates: [{
|
|
16
|
-
* metadatas: [{}],
|
|
17
16
|
* items: [{
|
|
18
17
|
* serverName: "github.com",
|
|
19
18
|
* certType: "ssh",
|
|
20
19
|
* certSubType: "ecdsa-sha2-nistp256",
|
|
21
20
|
* certData: "QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=",
|
|
22
21
|
* }],
|
|
22
|
+
* metadatas: [{}],
|
|
23
23
|
* }],
|
|
24
24
|
* upsert: true,
|
|
25
25
|
* }],
|
|
@@ -40,13 +40,13 @@ const utilities = __importStar(require("../utilities"));
|
|
|
40
40
|
* const example = new harness.platform.GitOpsRepoCert("example", {
|
|
41
41
|
* requests: [{
|
|
42
42
|
* certificates: [{
|
|
43
|
-
* metadatas: [{}],
|
|
44
43
|
* items: [{
|
|
45
44
|
* serverName: "github.com",
|
|
46
45
|
* certType: "ssh",
|
|
47
46
|
* certSubType: "ecdsa-sha2-nistp256",
|
|
48
47
|
* certData: "QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=",
|
|
49
48
|
* }],
|
|
49
|
+
* metadatas: [{}],
|
|
50
50
|
* }],
|
|
51
51
|
* upsert: true,
|
|
52
52
|
* }],
|
|
@@ -11,11 +11,6 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const test = new harness.platform.GitOpsRepoCred("test", {
|
|
14
|
-
* identifier: "identifier",
|
|
15
|
-
* accountId: "account_id",
|
|
16
|
-
* agentId: "agent_id",
|
|
17
|
-
* projectId: "project_id",
|
|
18
|
-
* orgId: "org_id",
|
|
19
14
|
* creds: [{
|
|
20
15
|
* type: "git",
|
|
21
16
|
* url: "git@github.com:yourorg",
|
|
@@ -26,6 +21,11 @@ import * as outputs from "../types/output";
|
|
|
26
21
|
* -----END OPENSSH PRIVATE KEY -----
|
|
27
22
|
* `,
|
|
28
23
|
* }],
|
|
24
|
+
* identifier: "identifier",
|
|
25
|
+
* accountId: "account_id",
|
|
26
|
+
* agentId: "agent_id",
|
|
27
|
+
* projectId: "project_id",
|
|
28
|
+
* orgId: "org_id",
|
|
29
29
|
* }, {
|
|
30
30
|
* ignoreChanges: [
|
|
31
31
|
* "accountId",
|
|
@@ -38,11 +38,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const test = new harness.platform.GitOpsRepoCred("test", {
|
|
41
|
-
* identifier: "identifier",
|
|
42
|
-
* accountId: "account_id",
|
|
43
|
-
* agentId: "agent_id",
|
|
44
|
-
* projectId: "project_id",
|
|
45
|
-
* orgId: "org_id",
|
|
46
41
|
* creds: [{
|
|
47
42
|
* type: "git",
|
|
48
43
|
* url: "git@github.com:yourorg",
|
|
@@ -53,6 +48,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
53
48
|
* -----END OPENSSH PRIVATE KEY -----
|
|
54
49
|
* `,
|
|
55
50
|
* }],
|
|
51
|
+
* identifier: "identifier",
|
|
52
|
+
* accountId: "account_id",
|
|
53
|
+
* agentId: "agent_id",
|
|
54
|
+
* projectId: "project_id",
|
|
55
|
+
* orgId: "org_id",
|
|
56
56
|
* }, {
|
|
57
57
|
* ignoreChanges: [
|
|
58
58
|
* "accountId",
|
|
@@ -62,6 +62,10 @@ export declare class GitopsAppProjectMapping extends pulumi.CustomResource {
|
|
|
62
62
|
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
63
63
|
*/
|
|
64
64
|
readonly autoCreateServiceEnv: pulumi.Output<boolean | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* If true, fails the delete with an error instead of removing Applications, Clusters, Repositories, or ApplicationSets that still reference this mapping. Defaults to true. Set to false only if you intend for the delete to remove those resources as well. Also applies when this resource is replaced due to a change in agent*id or argo*project_name.
|
|
67
|
+
*/
|
|
68
|
+
readonly blockIfReferenced: pulumi.Output<boolean | undefined>;
|
|
65
69
|
/**
|
|
66
70
|
* Identifier of the GitOps Application Project.
|
|
67
71
|
*/
|
|
@@ -105,6 +109,10 @@ export interface GitopsAppProjectMappingState {
|
|
|
105
109
|
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
106
110
|
*/
|
|
107
111
|
autoCreateServiceEnv?: pulumi.Input<boolean | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* If true, fails the delete with an error instead of removing Applications, Clusters, Repositories, or ApplicationSets that still reference this mapping. Defaults to true. Set to false only if you intend for the delete to remove those resources as well. Also applies when this resource is replaced due to a change in agent*id or argo*project_name.
|
|
114
|
+
*/
|
|
115
|
+
blockIfReferenced?: pulumi.Input<boolean | undefined>;
|
|
108
116
|
/**
|
|
109
117
|
* Identifier of the GitOps Application Project.
|
|
110
118
|
*/
|
|
@@ -140,6 +148,10 @@ export interface GitopsAppProjectMappingArgs {
|
|
|
140
148
|
* Enable automated creation of service, environment and cluster-env link. Defaults to false.
|
|
141
149
|
*/
|
|
142
150
|
autoCreateServiceEnv?: pulumi.Input<boolean | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* If true, fails the delete with an error instead of removing Applications, Clusters, Repositories, or ApplicationSets that still reference this mapping. Defaults to true. Set to false only if you intend for the delete to remove those resources as well. Also applies when this resource is replaced due to a change in agent*id or argo*project_name.
|
|
153
|
+
*/
|
|
154
|
+
blockIfReferenced?: pulumi.Input<boolean | undefined>;
|
|
143
155
|
/**
|
|
144
156
|
* Organization identifier of the GitOps agent's Application Project.
|
|
145
157
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitop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E,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -91,6 +91,7 @@ class GitopsAppProjectMapping extends pulumi.CustomResource {
|
|
|
91
91
|
resourceInputs["agentId"] = state?.agentId;
|
|
92
92
|
resourceInputs["argoProjectName"] = state?.argoProjectName;
|
|
93
93
|
resourceInputs["autoCreateServiceEnv"] = state?.autoCreateServiceEnv;
|
|
94
|
+
resourceInputs["blockIfReferenced"] = state?.blockIfReferenced;
|
|
94
95
|
resourceInputs["identifier"] = state?.identifier;
|
|
95
96
|
resourceInputs["orgId"] = state?.orgId;
|
|
96
97
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -113,6 +114,7 @@ class GitopsAppProjectMapping extends pulumi.CustomResource {
|
|
|
113
114
|
resourceInputs["agentId"] = args?.agentId;
|
|
114
115
|
resourceInputs["argoProjectName"] = args?.argoProjectName;
|
|
115
116
|
resourceInputs["autoCreateServiceEnv"] = args?.autoCreateServiceEnv;
|
|
117
|
+
resourceInputs["blockIfReferenced"] = args?.blockIfReferenced;
|
|
116
118
|
resourceInputs["orgId"] = args?.orgId;
|
|
117
119
|
resourceInputs["projectId"] = args?.projectId;
|
|
118
120
|
resourceInputs["identifier"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitopsAppProjectMapping.js","sourceRoot":"","sources":["../../platform/gitopsAppProjectMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IA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