@pulumi/harness 0.10.0-alpha.1762841354 → 0.10.0-alpha.1763100720
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/getRuleScaleGroup.d.ts +134 -0
- package/autostopping/getRuleScaleGroup.js +46 -0
- package/autostopping/getRuleScaleGroup.js.map +1 -0
- package/autostopping/index.d.ts +6 -0
- package/autostopping/index.js +9 -1
- package/autostopping/index.js.map +1 -1
- package/autostopping/ruleEcs.d.ts +28 -0
- package/autostopping/ruleEcs.js +28 -0
- package/autostopping/ruleEcs.js.map +1 -1
- package/autostopping/ruleScaleGroup.d.ts +186 -0
- package/autostopping/ruleScaleGroup.js +115 -0
- package/autostopping/ruleScaleGroup.js.map +1 -0
- package/package.json +2 -2
- package/platform/connectorRancher.d.ts +17 -0
- package/platform/connectorRancher.js +17 -0
- package/platform/connectorRancher.js.map +1 -1
- package/platform/environment.d.ts +83 -0
- package/platform/environment.js +83 -0
- package/platform/environment.js.map +1 -1
- package/platform/environmentGroup.d.ts +5 -5
- package/platform/environmentGroup.js +5 -5
- package/platform/gcpSecretManagerConnector.d.ts +49 -0
- package/platform/gcpSecretManagerConnector.js +49 -0
- package/platform/gcpSecretManagerConnector.js.map +1 -1
- package/platform/getDefaultNotificationTemplateSet.d.ts +6 -0
- package/platform/getDefaultNotificationTemplateSet.js +4 -0
- package/platform/getDefaultNotificationTemplateSet.js.map +1 -1
- package/platform/getPipelineCentralNotificationRule.d.ts +4 -0
- package/platform/getPipelineCentralNotificationRule.js +4 -0
- package/platform/getPipelineCentralNotificationRule.js.map +1 -1
- package/platform/infraModuleTesting.d.ts +18 -0
- package/platform/infraModuleTesting.js +18 -0
- package/platform/infraModuleTesting.js.map +1 -1
- package/platform/infrastructure.d.ts +40 -0
- package/platform/infrastructure.js +40 -0
- package/platform/infrastructure.js.map +1 -1
- package/platform/pipeline.d.ts +1 -1
- package/platform/pipeline.js +1 -1
- package/platform/pipelineCentralNotificationRule.d.ts +90 -0
- package/platform/pipelineCentralNotificationRule.js +90 -0
- package/platform/pipelineCentralNotificationRule.js.map +1 -1
- package/platform/service.d.ts +75 -0
- package/platform/service.js +75 -0
- package/platform/service.js.map +1 -1
- package/platform/triggers.d.ts +3 -2
- package/platform/triggers.js +3 -2
- package/platform/triggers.js.map +1 -1
- package/types/input.d.ts +420 -0
- package/types/output.d.ts +312 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.10.0-alpha.
|
|
3
|
+
"version": "0.10.0-alpha.1763100720",
|
|
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.10.0-alpha.
|
|
26
|
+
"version": "0.10.0-alpha.1763100720",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -6,6 +6,23 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* const bearerToken = new harness.platform.KubernetesConnector("bearer_token", {
|
|
14
|
+
* identifier: "identifier",
|
|
15
|
+
* name: "name",
|
|
16
|
+
* description: "description",
|
|
17
|
+
* tags: ["foo:bar"],
|
|
18
|
+
* delegateSelectors: ["harness-delegate"],
|
|
19
|
+
* rancherUrl: "https://rancher.cluster.example",
|
|
20
|
+
* bearerToken: [{
|
|
21
|
+
* bearerTokenRef: "account.test_rancher_bearer_token",
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
9
26
|
* ## Import
|
|
10
27
|
*
|
|
11
28
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,23 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const bearerToken = new harness.platform.KubernetesConnector("bearer_token", {
|
|
18
|
+
* identifier: "identifier",
|
|
19
|
+
* name: "name",
|
|
20
|
+
* description: "description",
|
|
21
|
+
* tags: ["foo:bar"],
|
|
22
|
+
* delegateSelectors: ["harness-delegate"],
|
|
23
|
+
* rancherUrl: "https://rancher.cluster.example",
|
|
24
|
+
* bearerToken: [{
|
|
25
|
+
* bearerTokenRef: "account.test_rancher_bearer_token",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
13
30
|
* ## Import
|
|
14
31
|
*
|
|
15
32
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorRancher.js","sourceRoot":"","sources":["../../platform/connectorRancher.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"connectorRancher.js","sourceRoot":"","sources":["../../platform/connectorRancher.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IA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
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* const example = new harness.platform.Environment("example", {
|
|
14
|
+
* identifier: "identifier",
|
|
15
|
+
* name: "name",
|
|
16
|
+
* orgId: "org_id",
|
|
17
|
+
* projectId: "project_id",
|
|
18
|
+
* tags: [
|
|
19
|
+
* "foo:bar",
|
|
20
|
+
* "bar:foo",
|
|
21
|
+
* ],
|
|
22
|
+
* type: "PreProduction",
|
|
23
|
+
* gitDetails: {
|
|
24
|
+
* branchName: "branchName",
|
|
25
|
+
* commitMessage: "commitMessage",
|
|
26
|
+
* filePath: "filePath",
|
|
27
|
+
* connectorRef: "connectorRef",
|
|
28
|
+
* storeType: "REMOTE",
|
|
29
|
+
* repoName: "repoName",
|
|
30
|
+
* },
|
|
31
|
+
* yaml: `environment:
|
|
32
|
+
* name: name
|
|
33
|
+
* identifier: identifier
|
|
34
|
+
* orgIdentifier: org_id
|
|
35
|
+
* projectIdentifier: project_id
|
|
36
|
+
* type: PreProduction
|
|
37
|
+
* tags:
|
|
38
|
+
* foo: bar
|
|
39
|
+
* bar: foo
|
|
40
|
+
* variables:
|
|
41
|
+
* - name: envVar1
|
|
42
|
+
* type: String
|
|
43
|
+
* value: v1
|
|
44
|
+
* description: \\"\\"
|
|
45
|
+
* - name: envVar2
|
|
46
|
+
* type: String
|
|
47
|
+
* value: v2
|
|
48
|
+
* description: \\"\\"
|
|
49
|
+
* overrides:
|
|
50
|
+
* manifests:
|
|
51
|
+
* - manifest:
|
|
52
|
+
* identifier: manifestEnv
|
|
53
|
+
* type: Values
|
|
54
|
+
* spec:
|
|
55
|
+
* store:
|
|
56
|
+
* type: Git
|
|
57
|
+
* spec:
|
|
58
|
+
* connectorRef: <+input>
|
|
59
|
+
* gitFetchType: Branch
|
|
60
|
+
* paths:
|
|
61
|
+
* - file1
|
|
62
|
+
* repoName: <+input>
|
|
63
|
+
* branch: master
|
|
64
|
+
* configFiles:
|
|
65
|
+
* - configFile:
|
|
66
|
+
* identifier: configFileEnv
|
|
67
|
+
* spec:
|
|
68
|
+
* store:
|
|
69
|
+
* type: Harness
|
|
70
|
+
* spec:
|
|
71
|
+
* files:
|
|
72
|
+
* - account:/Add-ons/svcOverrideTest
|
|
73
|
+
* secretFiles: []
|
|
74
|
+
* `,
|
|
75
|
+
* });
|
|
76
|
+
* //## Importing Environment from Git
|
|
77
|
+
* const test = new harness.platform.Environment("test", {
|
|
78
|
+
* identifier: "accEnv",
|
|
79
|
+
* name: "accEnv",
|
|
80
|
+
* type: "PreProduction",
|
|
81
|
+
* gitDetails: {
|
|
82
|
+
* storeType: "REMOTE",
|
|
83
|
+
* connectorRef: "account.DoNotDeleteGitX",
|
|
84
|
+
* repoName: "pcf_practice",
|
|
85
|
+
* filePath: ".harness/accountEnvironment.yaml",
|
|
86
|
+
* branch: "main",
|
|
87
|
+
* importFromGit: true,
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
9
92
|
* ## Import
|
|
10
93
|
*
|
|
11
94
|
* The `pulumi import` command can be used, for example:
|
package/platform/environment.js
CHANGED
|
@@ -10,6 +10,89 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const example = new harness.platform.Environment("example", {
|
|
18
|
+
* identifier: "identifier",
|
|
19
|
+
* name: "name",
|
|
20
|
+
* orgId: "org_id",
|
|
21
|
+
* projectId: "project_id",
|
|
22
|
+
* tags: [
|
|
23
|
+
* "foo:bar",
|
|
24
|
+
* "bar:foo",
|
|
25
|
+
* ],
|
|
26
|
+
* type: "PreProduction",
|
|
27
|
+
* gitDetails: {
|
|
28
|
+
* branchName: "branchName",
|
|
29
|
+
* commitMessage: "commitMessage",
|
|
30
|
+
* filePath: "filePath",
|
|
31
|
+
* connectorRef: "connectorRef",
|
|
32
|
+
* storeType: "REMOTE",
|
|
33
|
+
* repoName: "repoName",
|
|
34
|
+
* },
|
|
35
|
+
* yaml: `environment:
|
|
36
|
+
* name: name
|
|
37
|
+
* identifier: identifier
|
|
38
|
+
* orgIdentifier: org_id
|
|
39
|
+
* projectIdentifier: project_id
|
|
40
|
+
* type: PreProduction
|
|
41
|
+
* tags:
|
|
42
|
+
* foo: bar
|
|
43
|
+
* bar: foo
|
|
44
|
+
* variables:
|
|
45
|
+
* - name: envVar1
|
|
46
|
+
* type: String
|
|
47
|
+
* value: v1
|
|
48
|
+
* description: \\"\\"
|
|
49
|
+
* - name: envVar2
|
|
50
|
+
* type: String
|
|
51
|
+
* value: v2
|
|
52
|
+
* description: \\"\\"
|
|
53
|
+
* overrides:
|
|
54
|
+
* manifests:
|
|
55
|
+
* - manifest:
|
|
56
|
+
* identifier: manifestEnv
|
|
57
|
+
* type: Values
|
|
58
|
+
* spec:
|
|
59
|
+
* store:
|
|
60
|
+
* type: Git
|
|
61
|
+
* spec:
|
|
62
|
+
* connectorRef: <+input>
|
|
63
|
+
* gitFetchType: Branch
|
|
64
|
+
* paths:
|
|
65
|
+
* - file1
|
|
66
|
+
* repoName: <+input>
|
|
67
|
+
* branch: master
|
|
68
|
+
* configFiles:
|
|
69
|
+
* - configFile:
|
|
70
|
+
* identifier: configFileEnv
|
|
71
|
+
* spec:
|
|
72
|
+
* store:
|
|
73
|
+
* type: Harness
|
|
74
|
+
* spec:
|
|
75
|
+
* files:
|
|
76
|
+
* - account:/Add-ons/svcOverrideTest
|
|
77
|
+
* secretFiles: []
|
|
78
|
+
* `,
|
|
79
|
+
* });
|
|
80
|
+
* //## Importing Environment from Git
|
|
81
|
+
* const test = new harness.platform.Environment("test", {
|
|
82
|
+
* identifier: "accEnv",
|
|
83
|
+
* name: "accEnv",
|
|
84
|
+
* type: "PreProduction",
|
|
85
|
+
* gitDetails: {
|
|
86
|
+
* storeType: "REMOTE",
|
|
87
|
+
* connectorRef: "account.DoNotDeleteGitX",
|
|
88
|
+
* repoName: "pcf_practice",
|
|
89
|
+
* filePath: ".harness/accountEnvironment.yaml",
|
|
90
|
+
* branch: "main",
|
|
91
|
+
* importFromGit: true,
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
13
96
|
* ## Import
|
|
14
97
|
*
|
|
15
98
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../platform/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../platform/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6GG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,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CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvHL,kCAwHC;AA1GG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -14,11 +14,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* projectId: "projectIdentifier",
|
|
15
15
|
* color: "#0063F7",
|
|
16
16
|
* yaml: `environmentGroup:
|
|
17
|
-
* name: "name"
|
|
18
|
-
* identifier: "identifier"
|
|
19
|
-
* description: "temp"
|
|
20
|
-
* orgIdentifier: "orgIdentifer"
|
|
21
|
-
* projectIdentifier: "projectIdentifier"
|
|
17
|
+
* name: \\"name\\"
|
|
18
|
+
* identifier: \\"identifier\\"
|
|
19
|
+
* description: \\"temp\\"
|
|
20
|
+
* orgIdentifier: \\"orgIdentifer\\"
|
|
21
|
+
* projectIdentifier: \\"projectIdentifier\\"
|
|
22
22
|
* envIdentifiers: []
|
|
23
23
|
* `,
|
|
24
24
|
* });
|
|
@@ -20,11 +20,11 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* projectId: "projectIdentifier",
|
|
21
21
|
* color: "#0063F7",
|
|
22
22
|
* yaml: `environmentGroup:
|
|
23
|
-
* name: "name"
|
|
24
|
-
* identifier: "identifier"
|
|
25
|
-
* description: "temp"
|
|
26
|
-
* orgIdentifier: "orgIdentifer"
|
|
27
|
-
* projectIdentifier: "projectIdentifier"
|
|
23
|
+
* name: \\"name\\"
|
|
24
|
+
* identifier: \\"identifier\\"
|
|
25
|
+
* description: \\"temp\\"
|
|
26
|
+
* orgIdentifier: \\"orgIdentifer\\"
|
|
27
|
+
* projectIdentifier: \\"projectIdentifier\\"
|
|
28
28
|
* envIdentifiers: []
|
|
29
29
|
* `,
|
|
30
30
|
* });
|
|
@@ -6,6 +6,55 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* const gcpSmManual = new harness.platform.GcpSecretManagerConnector("gcp_sm_manual", {
|
|
14
|
+
* identifier: "identifier",
|
|
15
|
+
* name: "name",
|
|
16
|
+
* description: "test",
|
|
17
|
+
* tags: ["foo:bar"],
|
|
18
|
+
* delegateSelectors: ["harness-delegate"],
|
|
19
|
+
* credentialsRef: `account.${test.id}`,
|
|
20
|
+
* });
|
|
21
|
+
* const gcpSmInherit = new harness.platform.GcpSecretManagerConnector("gcp_sm_inherit", {
|
|
22
|
+
* identifier: "identifier",
|
|
23
|
+
* name: "name",
|
|
24
|
+
* description: "test",
|
|
25
|
+
* tags: ["foo:bar"],
|
|
26
|
+
* delegateSelectors: ["harness-delegate"],
|
|
27
|
+
* inheritFromDelegate: true,
|
|
28
|
+
* });
|
|
29
|
+
* const gcpSmOidcPlatform = new harness.platform.GcpSecretManagerConnector("gcp_sm_oidc_platform", {
|
|
30
|
+
* identifier: "identifier",
|
|
31
|
+
* name: "name",
|
|
32
|
+
* description: "test",
|
|
33
|
+
* tags: ["foo:bar"],
|
|
34
|
+
* executeOnDelegate: false,
|
|
35
|
+
* oidcAuthentications: [{
|
|
36
|
+
* workloadPoolId: "harness-pool-test",
|
|
37
|
+
* providerId: "harness",
|
|
38
|
+
* gcpProjectId: "1234567",
|
|
39
|
+
* serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* const gcpSmOidcDelegate = new harness.platform.GcpSecretManagerConnector("gcp_sm_oidc_delegate", {
|
|
43
|
+
* identifier: "identifier",
|
|
44
|
+
* name: "name",
|
|
45
|
+
* description: "test",
|
|
46
|
+
* tags: ["foo:bar"],
|
|
47
|
+
* "default": true,
|
|
48
|
+
* delegateSelectors: ["harness-delegate"],
|
|
49
|
+
* oidcAuthentications: [{
|
|
50
|
+
* workloadPoolId: "harness-pool-test",
|
|
51
|
+
* providerId: "harness",
|
|
52
|
+
* gcpProjectId: "1234567",
|
|
53
|
+
* serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
|
|
54
|
+
* }],
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
9
58
|
* ## Import
|
|
10
59
|
*
|
|
11
60
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,55 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const gcpSmManual = new harness.platform.GcpSecretManagerConnector("gcp_sm_manual", {
|
|
18
|
+
* identifier: "identifier",
|
|
19
|
+
* name: "name",
|
|
20
|
+
* description: "test",
|
|
21
|
+
* tags: ["foo:bar"],
|
|
22
|
+
* delegateSelectors: ["harness-delegate"],
|
|
23
|
+
* credentialsRef: `account.${test.id}`,
|
|
24
|
+
* });
|
|
25
|
+
* const gcpSmInherit = new harness.platform.GcpSecretManagerConnector("gcp_sm_inherit", {
|
|
26
|
+
* identifier: "identifier",
|
|
27
|
+
* name: "name",
|
|
28
|
+
* description: "test",
|
|
29
|
+
* tags: ["foo:bar"],
|
|
30
|
+
* delegateSelectors: ["harness-delegate"],
|
|
31
|
+
* inheritFromDelegate: true,
|
|
32
|
+
* });
|
|
33
|
+
* const gcpSmOidcPlatform = new harness.platform.GcpSecretManagerConnector("gcp_sm_oidc_platform", {
|
|
34
|
+
* identifier: "identifier",
|
|
35
|
+
* name: "name",
|
|
36
|
+
* description: "test",
|
|
37
|
+
* tags: ["foo:bar"],
|
|
38
|
+
* executeOnDelegate: false,
|
|
39
|
+
* oidcAuthentications: [{
|
|
40
|
+
* workloadPoolId: "harness-pool-test",
|
|
41
|
+
* providerId: "harness",
|
|
42
|
+
* gcpProjectId: "1234567",
|
|
43
|
+
* serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
|
|
44
|
+
* }],
|
|
45
|
+
* });
|
|
46
|
+
* const gcpSmOidcDelegate = new harness.platform.GcpSecretManagerConnector("gcp_sm_oidc_delegate", {
|
|
47
|
+
* identifier: "identifier",
|
|
48
|
+
* name: "name",
|
|
49
|
+
* description: "test",
|
|
50
|
+
* tags: ["foo:bar"],
|
|
51
|
+
* "default": true,
|
|
52
|
+
* delegateSelectors: ["harness-delegate"],
|
|
53
|
+
* oidcAuthentications: [{
|
|
54
|
+
* workloadPoolId: "harness-pool-test",
|
|
55
|
+
* providerId: "harness",
|
|
56
|
+
* gcpProjectId: "1234567",
|
|
57
|
+
* serviceAccountEmail: "harness.sample@iam.gserviceaccount.com",
|
|
58
|
+
* }],
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
13
62
|
* ## Import
|
|
14
63
|
*
|
|
15
64
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gcpSecretManagerConnector.js","sourceRoot":"","sources":["../../platform/gcpSecretManagerConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"gcpSecretManagerConnector.js","sourceRoot":"","sources":["../../platform/gcpSecretManagerConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA2DD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAA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AC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA1HL,8DA2HC;AA7GG,gBAAgB;AACO,sCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -33,6 +33,8 @@ export interface GetDefaultNotificationTemplateSetArgs {
|
|
|
33
33
|
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
34
34
|
*/
|
|
35
35
|
notificationEntity: string;
|
|
36
|
+
org?: string;
|
|
37
|
+
project?: string;
|
|
36
38
|
/**
|
|
37
39
|
* Key-value tags
|
|
38
40
|
*/
|
|
@@ -80,6 +82,8 @@ export interface GetDefaultNotificationTemplateSetResult {
|
|
|
80
82
|
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
81
83
|
*/
|
|
82
84
|
readonly notificationEntity: string;
|
|
85
|
+
readonly org?: string;
|
|
86
|
+
readonly project?: string;
|
|
83
87
|
/**
|
|
84
88
|
* Key-value tags
|
|
85
89
|
*/
|
|
@@ -119,6 +123,8 @@ export interface GetDefaultNotificationTemplateSetOutputArgs {
|
|
|
119
123
|
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
120
124
|
*/
|
|
121
125
|
notificationEntity: pulumi.Input<string>;
|
|
126
|
+
org?: pulumi.Input<string>;
|
|
127
|
+
project?: pulumi.Input<string>;
|
|
122
128
|
/**
|
|
123
129
|
* Key-value tags
|
|
124
130
|
*/
|
|
@@ -17,6 +17,8 @@ function getDefaultNotificationTemplateSet(args, opts) {
|
|
|
17
17
|
"name": args.name,
|
|
18
18
|
"notificationChannelType": args.notificationChannelType,
|
|
19
19
|
"notificationEntity": args.notificationEntity,
|
|
20
|
+
"org": args.org,
|
|
21
|
+
"project": args.project,
|
|
20
22
|
"tags": args.tags,
|
|
21
23
|
}, opts);
|
|
22
24
|
}
|
|
@@ -33,6 +35,8 @@ function getDefaultNotificationTemplateSetOutput(args, opts) {
|
|
|
33
35
|
"name": args.name,
|
|
34
36
|
"notificationChannelType": args.notificationChannelType,
|
|
35
37
|
"notificationEntity": args.notificationEntity,
|
|
38
|
+
"org": args.org,
|
|
39
|
+
"project": args.project,
|
|
36
40
|
"tags": args.tags,
|
|
37
41
|
}, opts);
|
|
38
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultNotificationTemplateSet.js","sourceRoot":"","sources":["../../platform/getDefaultNotificationTemplateSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gCAAgC,EAAE,IAAI,CAAC,8BAA8B;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getDefaultNotificationTemplateSet.js","sourceRoot":"","sources":["../../platform/getDefaultNotificationTemplateSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gCAAgC,EAAE,IAAI,CAAC,8BAA8B;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8EAaC;AAqFD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sFAAsF,EAAE;QACvH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gCAAgC,EAAE,IAAI,CAAC,8BAA8B;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0FAaC"}
|
|
@@ -3,6 +3,8 @@ import * as inputs from "../types/input";
|
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Data source for retrieving a Notification Rule.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
6
8
|
*/
|
|
7
9
|
export declare function getPipelineCentralNotificationRule(args: GetPipelineCentralNotificationRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetPipelineCentralNotificationRuleResult>;
|
|
8
10
|
/**
|
|
@@ -40,6 +42,8 @@ export interface GetPipelineCentralNotificationRuleResult {
|
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
* Data source for retrieving a Notification Rule.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
43
47
|
*/
|
|
44
48
|
export declare function getPipelineCentralNotificationRuleOutput(args: GetPipelineCentralNotificationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPipelineCentralNotificationRuleResult>;
|
|
45
49
|
/**
|
|
@@ -7,6 +7,8 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Data source for retrieving a Notification Rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
10
12
|
*/
|
|
11
13
|
function getPipelineCentralNotificationRule(args, opts) {
|
|
12
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -24,6 +26,8 @@ function getPipelineCentralNotificationRule(args, opts) {
|
|
|
24
26
|
exports.getPipelineCentralNotificationRule = getPipelineCentralNotificationRule;
|
|
25
27
|
/**
|
|
26
28
|
* Data source for retrieving a Notification Rule.
|
|
29
|
+
*
|
|
30
|
+
* ## Example Usage
|
|
27
31
|
*/
|
|
28
32
|
function getPipelineCentralNotificationRuleOutput(args, opts) {
|
|
29
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPipelineCentralNotificationRule.js","sourceRoot":"","sources":["../../platform/getPipelineCentralNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPipelineCentralNotificationRule.js","sourceRoot":"","sources":["../../platform/getPipelineCentralNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wFAAwF,EAAE;QACnH,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gFAYC;AAoCD;;;;GAIG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wFAAwF,EAAE;QACzH,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4FAYC"}
|
|
@@ -4,6 +4,24 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const example = new harness.platform.InfraModule("example", {
|
|
12
|
+
* moduleId: 1234,
|
|
13
|
+
* org: "default",
|
|
14
|
+
* project: "project",
|
|
15
|
+
* providerConnector: "account.connector",
|
|
16
|
+
* provisionerType: "tofu",
|
|
17
|
+
* provisionerVersion: "1.9.4",
|
|
18
|
+
* pipelines: [
|
|
19
|
+
* "pipelinea",
|
|
20
|
+
* "pipelineb",
|
|
21
|
+
* ],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
7
25
|
* ## Import
|
|
8
26
|
*
|
|
9
27
|
* The `pulumi import` command can be used, for example:
|
|
@@ -8,6 +8,24 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as harness from "@pulumi/harness";
|
|
14
|
+
*
|
|
15
|
+
* const example = new harness.platform.InfraModule("example", {
|
|
16
|
+
* moduleId: 1234,
|
|
17
|
+
* org: "default",
|
|
18
|
+
* project: "project",
|
|
19
|
+
* providerConnector: "account.connector",
|
|
20
|
+
* provisionerType: "tofu",
|
|
21
|
+
* provisionerVersion: "1.9.4",
|
|
22
|
+
* pipelines: [
|
|
23
|
+
* "pipelinea",
|
|
24
|
+
* "pipelineb",
|
|
25
|
+
* ],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
11
29
|
* ## Import
|
|
12
30
|
*
|
|
13
31
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infraModuleTesting.js","sourceRoot":"","sources":["../../platform/infraModuleTesting.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"infraModuleTesting.js","sourceRoot":"","sources":["../../platform/infraModuleTesting.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAnOL,gDAoOC;AAtNG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -6,6 +6,46 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* const example = new harness.platform.Infrastructure("example", {
|
|
14
|
+
* identifier: "identifier",
|
|
15
|
+
* name: "name",
|
|
16
|
+
* orgId: "orgIdentifer",
|
|
17
|
+
* projectId: "projectIdentifier",
|
|
18
|
+
* envId: "environmentIdentifier",
|
|
19
|
+
* type: "KubernetesDirect",
|
|
20
|
+
* deploymentType: "Kubernetes",
|
|
21
|
+
* gitDetails: {
|
|
22
|
+
* branchName: "branchName",
|
|
23
|
+
* commitMessage: "commitMessage",
|
|
24
|
+
* filePath: "filePath",
|
|
25
|
+
* connectorRef: "connectorRef",
|
|
26
|
+
* storeType: "REMOTE",
|
|
27
|
+
* repoName: "repoName",
|
|
28
|
+
* },
|
|
29
|
+
* yaml: `infrastructureDefinition:
|
|
30
|
+
* name: name
|
|
31
|
+
* identifier: identifier
|
|
32
|
+
* description: \\"\\"
|
|
33
|
+
* tags:
|
|
34
|
+
* asda: \\"\\"
|
|
35
|
+
* orgIdentifier: orgIdentifer
|
|
36
|
+
* projectIdentifier: projectIdentifier
|
|
37
|
+
* environmentRef: environmentIdentifier
|
|
38
|
+
* deploymentType: Kubernetes
|
|
39
|
+
* type: KubernetesDirect
|
|
40
|
+
* spec:
|
|
41
|
+
* connectorRef: account.gfgf
|
|
42
|
+
* namespace: asdasdsa
|
|
43
|
+
* releaseName: release-<+INFRA_KEY>
|
|
44
|
+
* allowSimultaneousDeployments: false
|
|
45
|
+
* `,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
9
49
|
* ## Import
|
|
10
50
|
*
|
|
11
51
|
* The `pulumi import` command can be used, for example:
|