@pulumi/harness 0.5.6 → 0.5.7
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 +2 -2
- package/platform/environment.d.ts +6 -6
- package/platform/environmentGroup.d.ts +3 -3
- package/platform/featureFlag.d.ts +12 -0
- package/platform/featureFlag.js +2 -0
- package/platform/featureFlag.js.map +1 -1
- package/platform/getGitopsAgentOperatorYaml.d.ts +130 -0
- package/platform/getGitopsAgentOperatorYaml.js +42 -0
- package/platform/getGitopsAgentOperatorYaml.js.map +1 -0
- package/platform/getVaultConnector.d.ts +16 -0
- package/platform/getVaultConnector.js.map +1 -1
- package/platform/harRegistry.d.ts +45 -20
- package/platform/harRegistry.js +31 -3
- package/platform/harRegistry.js.map +1 -1
- package/platform/index.d.ts +3 -0
- package/platform/index.js +8 -5
- package/platform/index.js.map +1 -1
- package/platform/infrastructure.d.ts +6 -6
- package/platform/service.d.ts +3 -3
- package/platform/template.d.ts +6 -6
- package/platform/terraformCloudConnector.d.ts +12 -0
- package/platform/terraformCloudConnector.js +2 -0
- package/platform/terraformCloudConnector.js.map +1 -1
- package/platform/vaultConnector.d.ts +77 -0
- package/platform/vaultConnector.js +37 -0
- package/platform/vaultConnector.js.map +1 -1
- package/types/input.d.ts +52 -18
- package/types/output.d.ts +34 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
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.5.
|
|
26
|
+
"version": "0.5.7",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -305,9 +305,9 @@ export declare class Environment extends pulumi.CustomResource {
|
|
|
305
305
|
*/
|
|
306
306
|
readonly description: pulumi.Output<string | undefined>;
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* When set to true, enables force deletion of environments.
|
|
309
309
|
*/
|
|
310
|
-
readonly forceDelete: pulumi.Output<
|
|
310
|
+
readonly forceDelete: pulumi.Output<boolean>;
|
|
311
311
|
/**
|
|
312
312
|
* Contains Git Information for remote entities from Git for Create/Update/Import
|
|
313
313
|
*/
|
|
@@ -363,9 +363,9 @@ export interface EnvironmentState {
|
|
|
363
363
|
*/
|
|
364
364
|
description?: pulumi.Input<string>;
|
|
365
365
|
/**
|
|
366
|
-
*
|
|
366
|
+
* When set to true, enables force deletion of environments.
|
|
367
367
|
*/
|
|
368
|
-
forceDelete?: pulumi.Input<
|
|
368
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
369
369
|
/**
|
|
370
370
|
* Contains Git Information for remote entities from Git for Create/Update/Import
|
|
371
371
|
*/
|
|
@@ -413,9 +413,9 @@ export interface EnvironmentArgs {
|
|
|
413
413
|
*/
|
|
414
414
|
description?: pulumi.Input<string>;
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
416
|
+
* When set to true, enables force deletion of environments.
|
|
417
417
|
*/
|
|
418
|
-
forceDelete?: pulumi.Input<
|
|
418
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
419
419
|
/**
|
|
420
420
|
* Contains Git Information for remote entities from Git for Create/Update/Import
|
|
421
421
|
*/
|
|
@@ -104,7 +104,7 @@ export declare class EnvironmentGroup extends pulumi.CustomResource {
|
|
|
104
104
|
/**
|
|
105
105
|
* Enable this flag for force deletion of environment group
|
|
106
106
|
*/
|
|
107
|
-
readonly forceDelete: pulumi.Output<
|
|
107
|
+
readonly forceDelete: pulumi.Output<boolean>;
|
|
108
108
|
/**
|
|
109
109
|
* identifier of the environment group.
|
|
110
110
|
*/
|
|
@@ -144,7 +144,7 @@ export interface EnvironmentGroupState {
|
|
|
144
144
|
/**
|
|
145
145
|
* Enable this flag for force deletion of environment group
|
|
146
146
|
*/
|
|
147
|
-
forceDelete?: pulumi.Input<
|
|
147
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
148
148
|
/**
|
|
149
149
|
* identifier of the environment group.
|
|
150
150
|
*/
|
|
@@ -176,7 +176,7 @@ export interface EnvironmentGroupArgs {
|
|
|
176
176
|
/**
|
|
177
177
|
* Enable this flag for force deletion of environment group
|
|
178
178
|
*/
|
|
179
|
-
forceDelete?: pulumi.Input<
|
|
179
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
180
180
|
/**
|
|
181
181
|
* identifier of the environment group.
|
|
182
182
|
*/
|
|
@@ -20,6 +20,10 @@ export declare class FeatureFlag extends pulumi.CustomResource {
|
|
|
20
20
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
21
|
*/
|
|
22
22
|
static isInstance(obj: any): obj is FeatureFlag;
|
|
23
|
+
/**
|
|
24
|
+
* Whether or not the flag is archived.
|
|
25
|
+
*/
|
|
26
|
+
readonly archived: pulumi.Output<boolean | undefined>;
|
|
23
27
|
/**
|
|
24
28
|
* Which of the variations to use when the flag is toggled to off state
|
|
25
29
|
*/
|
|
@@ -85,6 +89,10 @@ export declare class FeatureFlag extends pulumi.CustomResource {
|
|
|
85
89
|
* Input properties used for looking up and filtering FeatureFlag resources.
|
|
86
90
|
*/
|
|
87
91
|
export interface FeatureFlagState {
|
|
92
|
+
/**
|
|
93
|
+
* Whether or not the flag is archived.
|
|
94
|
+
*/
|
|
95
|
+
archived?: pulumi.Input<boolean>;
|
|
88
96
|
/**
|
|
89
97
|
* Which of the variations to use when the flag is toggled to off state
|
|
90
98
|
*/
|
|
@@ -142,6 +150,10 @@ export interface FeatureFlagState {
|
|
|
142
150
|
* The set of arguments for constructing a FeatureFlag resource.
|
|
143
151
|
*/
|
|
144
152
|
export interface FeatureFlagArgs {
|
|
153
|
+
/**
|
|
154
|
+
* Whether or not the flag is archived.
|
|
155
|
+
*/
|
|
156
|
+
archived?: pulumi.Input<boolean>;
|
|
145
157
|
/**
|
|
146
158
|
* Which of the variations to use when the flag is toggled to off state
|
|
147
159
|
*/
|
package/platform/featureFlag.js
CHANGED
|
@@ -36,6 +36,7 @@ class FeatureFlag extends pulumi.CustomResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
+
resourceInputs["archived"] = state ? state.archived : undefined;
|
|
39
40
|
resourceInputs["defaultOffVariation"] = state ? state.defaultOffVariation : undefined;
|
|
40
41
|
resourceInputs["defaultOnVariation"] = state ? state.defaultOnVariation : undefined;
|
|
41
42
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
@@ -76,6 +77,7 @@ class FeatureFlag extends pulumi.CustomResource {
|
|
|
76
77
|
if ((!args || args.variations === undefined) && !opts.urn) {
|
|
77
78
|
throw new Error("Missing required property 'variations'");
|
|
78
79
|
}
|
|
80
|
+
resourceInputs["archived"] = args ? args.archived : undefined;
|
|
79
81
|
resourceInputs["defaultOffVariation"] = args ? args.defaultOffVariation : undefined;
|
|
80
82
|
resourceInputs["defaultOnVariation"] = args ? args.defaultOnVariation : undefined;
|
|
81
83
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlag.js","sourceRoot":"","sources":["../../platform/featureFlag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC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AAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;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;;AA3JL,kCA4JC;AA9IG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Datasource for fetching a Harness Gitops Agent operator manifest YAML.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getGitopsAgentOperatorYaml(args: GetGitopsAgentOperatorYamlArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsAgentOperatorYamlResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking getGitopsAgentOperatorYaml.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetGitopsAgentOperatorYamlArgs {
|
|
12
|
+
/**
|
|
13
|
+
* CA data of the GitOps agent, base64 encoded content of ca chain.
|
|
14
|
+
*/
|
|
15
|
+
caData?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Identifier of the GitOps agent.
|
|
18
|
+
*/
|
|
19
|
+
identifier: string;
|
|
20
|
+
/**
|
|
21
|
+
* The kubernetes namespace where the agent is installed.
|
|
22
|
+
*/
|
|
23
|
+
namespace: string;
|
|
24
|
+
/**
|
|
25
|
+
* Organization identifier of the GitOps agent.
|
|
26
|
+
*/
|
|
27
|
+
orgId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
|
|
30
|
+
*/
|
|
31
|
+
privateKey?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Project identifier of the GitOps agent.
|
|
34
|
+
*/
|
|
35
|
+
projectId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Proxy settings for the GitOps agent.
|
|
38
|
+
*/
|
|
39
|
+
proxies?: inputs.platform.GetGitopsAgentOperatorYamlProxy[];
|
|
40
|
+
/**
|
|
41
|
+
* Skip CRDs for the GitOps agent.
|
|
42
|
+
*/
|
|
43
|
+
skipCrds?: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A collection of values returned by getGitopsAgentOperatorYaml.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetGitopsAgentOperatorYamlResult {
|
|
49
|
+
/**
|
|
50
|
+
* CA data of the GitOps agent, base64 encoded content of ca chain.
|
|
51
|
+
*/
|
|
52
|
+
readonly caData?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The provider-assigned unique ID for this managed resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Identifier of the GitOps agent.
|
|
59
|
+
*/
|
|
60
|
+
readonly identifier: string;
|
|
61
|
+
/**
|
|
62
|
+
* The kubernetes namespace where the agent is installed.
|
|
63
|
+
*/
|
|
64
|
+
readonly namespace: string;
|
|
65
|
+
/**
|
|
66
|
+
* Organization identifier of the GitOps agent.
|
|
67
|
+
*/
|
|
68
|
+
readonly orgId?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
|
|
71
|
+
*/
|
|
72
|
+
readonly privateKey?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Project identifier of the GitOps agent.
|
|
75
|
+
*/
|
|
76
|
+
readonly projectId?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Proxy settings for the GitOps agent.
|
|
79
|
+
*/
|
|
80
|
+
readonly proxies?: outputs.platform.GetGitopsAgentOperatorYamlProxy[];
|
|
81
|
+
/**
|
|
82
|
+
* Skip CRDs for the GitOps agent.
|
|
83
|
+
*/
|
|
84
|
+
readonly skipCrds?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* The operator manifest YAML of the GitOps agent.
|
|
87
|
+
*/
|
|
88
|
+
readonly yaml: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Datasource for fetching a Harness Gitops Agent operator manifest YAML.
|
|
92
|
+
*/
|
|
93
|
+
export declare function getGitopsAgentOperatorYamlOutput(args: GetGitopsAgentOperatorYamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsAgentOperatorYamlResult>;
|
|
94
|
+
/**
|
|
95
|
+
* A collection of arguments for invoking getGitopsAgentOperatorYaml.
|
|
96
|
+
*/
|
|
97
|
+
export interface GetGitopsAgentOperatorYamlOutputArgs {
|
|
98
|
+
/**
|
|
99
|
+
* CA data of the GitOps agent, base64 encoded content of ca chain.
|
|
100
|
+
*/
|
|
101
|
+
caData?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the GitOps agent.
|
|
104
|
+
*/
|
|
105
|
+
identifier: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The kubernetes namespace where the agent is installed.
|
|
108
|
+
*/
|
|
109
|
+
namespace: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Organization identifier of the GitOps agent.
|
|
112
|
+
*/
|
|
113
|
+
orgId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Private key for the GitOps agent. If provided authentication token will not be regenerated. Must be base64 encoded.
|
|
116
|
+
*/
|
|
117
|
+
privateKey?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Project identifier of the GitOps agent.
|
|
120
|
+
*/
|
|
121
|
+
projectId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Proxy settings for the GitOps agent.
|
|
124
|
+
*/
|
|
125
|
+
proxies?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsAgentOperatorYamlProxyArgs>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Skip CRDs for the GitOps agent.
|
|
128
|
+
*/
|
|
129
|
+
skipCrds?: pulumi.Input<boolean>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGitopsAgentOperatorYamlOutput = exports.getGitopsAgentOperatorYaml = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Datasource for fetching a Harness Gitops Agent operator manifest YAML.
|
|
10
|
+
*/
|
|
11
|
+
function getGitopsAgentOperatorYaml(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("harness:platform/getGitopsAgentOperatorYaml:getGitopsAgentOperatorYaml", {
|
|
14
|
+
"caData": args.caData,
|
|
15
|
+
"identifier": args.identifier,
|
|
16
|
+
"namespace": args.namespace,
|
|
17
|
+
"orgId": args.orgId,
|
|
18
|
+
"privateKey": args.privateKey,
|
|
19
|
+
"projectId": args.projectId,
|
|
20
|
+
"proxies": args.proxies,
|
|
21
|
+
"skipCrds": args.skipCrds,
|
|
22
|
+
}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.getGitopsAgentOperatorYaml = getGitopsAgentOperatorYaml;
|
|
25
|
+
/**
|
|
26
|
+
* Datasource for fetching a Harness Gitops Agent operator manifest YAML.
|
|
27
|
+
*/
|
|
28
|
+
function getGitopsAgentOperatorYamlOutput(args, opts) {
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invokeOutput("harness:platform/getGitopsAgentOperatorYaml:getGitopsAgentOperatorYaml", {
|
|
31
|
+
"caData": args.caData,
|
|
32
|
+
"identifier": args.identifier,
|
|
33
|
+
"namespace": args.namespace,
|
|
34
|
+
"orgId": args.orgId,
|
|
35
|
+
"privateKey": args.privateKey,
|
|
36
|
+
"projectId": args.projectId,
|
|
37
|
+
"proxies": args.proxies,
|
|
38
|
+
"skipCrds": args.skipCrds,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getGitopsAgentOperatorYamlOutput = getGitopsAgentOperatorYamlOutput;
|
|
42
|
+
//# sourceMappingURL=getGitopsAgentOperatorYaml.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGitopsAgentOperatorYaml.js","sourceRoot":"","sources":["../../platform/getGitopsAgentOperatorYaml.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gEAYC;AAqFD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4EAYC"}
|
|
@@ -69,6 +69,10 @@ export interface GetVaultConnectorResult {
|
|
|
69
69
|
* Description of the resource.
|
|
70
70
|
*/
|
|
71
71
|
readonly description: string;
|
|
72
|
+
/**
|
|
73
|
+
* Execute on delegate or not.
|
|
74
|
+
*/
|
|
75
|
+
readonly executeOnDelegate: boolean;
|
|
72
76
|
/**
|
|
73
77
|
* The provider-assigned unique ID for this managed resource.
|
|
74
78
|
*/
|
|
@@ -149,6 +153,10 @@ export interface GetVaultConnectorResult {
|
|
|
149
153
|
* Boolean value to indicate if AWS IAM is used for authentication.
|
|
150
154
|
*/
|
|
151
155
|
readonly useAwsIam: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Boolean value to indicate if JWT is used for authentication.
|
|
158
|
+
*/
|
|
159
|
+
readonly useJwtAuth: boolean;
|
|
152
160
|
/**
|
|
153
161
|
* Boolean value to indicate if K8s Auth is used for authentication.
|
|
154
162
|
*/
|
|
@@ -161,6 +169,14 @@ export interface GetVaultConnectorResult {
|
|
|
161
169
|
* The Vault role defined to bind to AWS IAM account/role being accessed.
|
|
162
170
|
*/
|
|
163
171
|
readonly vaultAwsIamRole: string;
|
|
172
|
+
/**
|
|
173
|
+
* Custom path at with JWT auth in enabled for Vault.
|
|
174
|
+
*/
|
|
175
|
+
readonly vaultJwtAuthPath: string;
|
|
176
|
+
/**
|
|
177
|
+
* The Vault role defined with JWT auth type for accessing Vault as per policies binded.
|
|
178
|
+
*/
|
|
179
|
+
readonly vaultJwtAuthRole: string;
|
|
164
180
|
/**
|
|
165
181
|
* The role where K8s auth will happen.
|
|
166
182
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVaultConnector.js","sourceRoot":"","sources":["../../platform/getVaultConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;
|
|
1
|
+
{"version":3,"file":"getVaultConnector.js","sourceRoot":"","sources":["../../platform/getVaultConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAqLD;;;;;;;;;;;GAWG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0DAQC"}
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Resource for
|
|
5
|
+
* Resource for creating and managing Harness Registries.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -10,12 +10,37 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* // Example of a Virtual Registry
|
|
14
|
+
* const virtualRegistry = new harness.platform.HarRegistry("virtual_registry", {
|
|
15
|
+
* identifier: "virtual_docker_registry",
|
|
16
|
+
* description: "Virtual Docker Registry",
|
|
15
17
|
* spaceRef: "accountId/orgId/projectId",
|
|
16
18
|
* packageType: "DOCKER",
|
|
17
19
|
* configs: [{
|
|
18
20
|
* type: "VIRTUAL",
|
|
21
|
+
* upstreamProxies: [
|
|
22
|
+
* "registry1",
|
|
23
|
+
* "registry2",
|
|
24
|
+
* ],
|
|
25
|
+
* }],
|
|
26
|
+
* parentRef: "accountId/orgId/projectId",
|
|
27
|
+
* });
|
|
28
|
+
* // Example of an Upstream Registry with Authentication
|
|
29
|
+
* const upstreamRegistry = new harness.platform.HarRegistry("upstream_registry", {
|
|
30
|
+
* identifier: "upstream_helm_registry",
|
|
31
|
+
* description: "Upstream Helm Registry",
|
|
32
|
+
* spaceRef: "accountId/orgId/projectId",
|
|
33
|
+
* packageType: "HELM",
|
|
34
|
+
* configs: [{
|
|
35
|
+
* type: "UPSTREAM",
|
|
36
|
+
* source: "CUSTOM",
|
|
37
|
+
* url: "https://helm.sh",
|
|
38
|
+
* auths: [{
|
|
39
|
+
* authType: "UserPassword",
|
|
40
|
+
* userName: "registry_user",
|
|
41
|
+
* secretIdentifier: "registry_password",
|
|
42
|
+
* secretSpacePath: "accountId/orgId/projectId",
|
|
43
|
+
* }],
|
|
19
44
|
* }],
|
|
20
45
|
* parentRef: "accountId/orgId/projectId",
|
|
21
46
|
* });
|
|
@@ -46,9 +71,9 @@ export declare class HarRegistry extends pulumi.CustomResource {
|
|
|
46
71
|
*/
|
|
47
72
|
readonly blockedPatterns: pulumi.Output<string[] | undefined>;
|
|
48
73
|
/**
|
|
49
|
-
*
|
|
74
|
+
* Configuration for the registry
|
|
50
75
|
*/
|
|
51
|
-
readonly configs: pulumi.Output<outputs.platform.HarRegistryConfig[]
|
|
76
|
+
readonly configs: pulumi.Output<outputs.platform.HarRegistryConfig[]>;
|
|
52
77
|
/**
|
|
53
78
|
* Timestamp when the registry was created
|
|
54
79
|
*/
|
|
@@ -58,19 +83,19 @@ export declare class HarRegistry extends pulumi.CustomResource {
|
|
|
58
83
|
*/
|
|
59
84
|
readonly description: pulumi.Output<string | undefined>;
|
|
60
85
|
/**
|
|
61
|
-
* Unique identifier of the
|
|
86
|
+
* Unique identifier of the registry
|
|
62
87
|
*/
|
|
63
88
|
readonly identifier: pulumi.Output<string>;
|
|
64
89
|
/**
|
|
65
|
-
* Type of package (DOCKER,
|
|
90
|
+
* Type of package (DOCKER, HELM, etc.)
|
|
66
91
|
*/
|
|
67
92
|
readonly packageType: pulumi.Output<string>;
|
|
68
93
|
/**
|
|
69
|
-
* Parent
|
|
94
|
+
* Parent reference for the registry
|
|
70
95
|
*/
|
|
71
96
|
readonly parentRef: pulumi.Output<string | undefined>;
|
|
72
97
|
/**
|
|
73
|
-
*
|
|
98
|
+
* Space reference for the registry
|
|
74
99
|
*/
|
|
75
100
|
readonly spaceRef: pulumi.Output<string | undefined>;
|
|
76
101
|
/**
|
|
@@ -99,7 +124,7 @@ export interface HarRegistryState {
|
|
|
99
124
|
*/
|
|
100
125
|
blockedPatterns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
101
126
|
/**
|
|
102
|
-
*
|
|
127
|
+
* Configuration for the registry
|
|
103
128
|
*/
|
|
104
129
|
configs?: pulumi.Input<pulumi.Input<inputs.platform.HarRegistryConfig>[]>;
|
|
105
130
|
/**
|
|
@@ -111,19 +136,19 @@ export interface HarRegistryState {
|
|
|
111
136
|
*/
|
|
112
137
|
description?: pulumi.Input<string>;
|
|
113
138
|
/**
|
|
114
|
-
* Unique identifier of the
|
|
139
|
+
* Unique identifier of the registry
|
|
115
140
|
*/
|
|
116
141
|
identifier?: pulumi.Input<string>;
|
|
117
142
|
/**
|
|
118
|
-
* Type of package (DOCKER,
|
|
143
|
+
* Type of package (DOCKER, HELM, etc.)
|
|
119
144
|
*/
|
|
120
145
|
packageType?: pulumi.Input<string>;
|
|
121
146
|
/**
|
|
122
|
-
* Parent
|
|
147
|
+
* Parent reference for the registry
|
|
123
148
|
*/
|
|
124
149
|
parentRef?: pulumi.Input<string>;
|
|
125
150
|
/**
|
|
126
|
-
*
|
|
151
|
+
* Space reference for the registry
|
|
127
152
|
*/
|
|
128
153
|
spaceRef?: pulumi.Input<string>;
|
|
129
154
|
/**
|
|
@@ -144,27 +169,27 @@ export interface HarRegistryArgs {
|
|
|
144
169
|
*/
|
|
145
170
|
blockedPatterns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
171
|
/**
|
|
147
|
-
*
|
|
172
|
+
* Configuration for the registry
|
|
148
173
|
*/
|
|
149
|
-
configs
|
|
174
|
+
configs: pulumi.Input<pulumi.Input<inputs.platform.HarRegistryConfig>[]>;
|
|
150
175
|
/**
|
|
151
176
|
* Description of the registry
|
|
152
177
|
*/
|
|
153
178
|
description?: pulumi.Input<string>;
|
|
154
179
|
/**
|
|
155
|
-
* Unique identifier of the
|
|
180
|
+
* Unique identifier of the registry
|
|
156
181
|
*/
|
|
157
182
|
identifier: pulumi.Input<string>;
|
|
158
183
|
/**
|
|
159
|
-
* Type of package (DOCKER,
|
|
184
|
+
* Type of package (DOCKER, HELM, etc.)
|
|
160
185
|
*/
|
|
161
186
|
packageType: pulumi.Input<string>;
|
|
162
187
|
/**
|
|
163
|
-
* Parent
|
|
188
|
+
* Parent reference for the registry
|
|
164
189
|
*/
|
|
165
190
|
parentRef?: pulumi.Input<string>;
|
|
166
191
|
/**
|
|
167
|
-
*
|
|
192
|
+
* Space reference for the registry
|
|
168
193
|
*/
|
|
169
194
|
spaceRef?: pulumi.Input<string>;
|
|
170
195
|
}
|
package/platform/harRegistry.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.HarRegistry = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Resource for
|
|
9
|
+
* Resource for creating and managing Harness Registries.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -14,12 +14,37 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as harness from "@pulumi/harness";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* // Example of a Virtual Registry
|
|
18
|
+
* const virtualRegistry = new harness.platform.HarRegistry("virtual_registry", {
|
|
19
|
+
* identifier: "virtual_docker_registry",
|
|
20
|
+
* description: "Virtual Docker Registry",
|
|
19
21
|
* spaceRef: "accountId/orgId/projectId",
|
|
20
22
|
* packageType: "DOCKER",
|
|
21
23
|
* configs: [{
|
|
22
24
|
* type: "VIRTUAL",
|
|
25
|
+
* upstreamProxies: [
|
|
26
|
+
* "registry1",
|
|
27
|
+
* "registry2",
|
|
28
|
+
* ],
|
|
29
|
+
* }],
|
|
30
|
+
* parentRef: "accountId/orgId/projectId",
|
|
31
|
+
* });
|
|
32
|
+
* // Example of an Upstream Registry with Authentication
|
|
33
|
+
* const upstreamRegistry = new harness.platform.HarRegistry("upstream_registry", {
|
|
34
|
+
* identifier: "upstream_helm_registry",
|
|
35
|
+
* description: "Upstream Helm Registry",
|
|
36
|
+
* spaceRef: "accountId/orgId/projectId",
|
|
37
|
+
* packageType: "HELM",
|
|
38
|
+
* configs: [{
|
|
39
|
+
* type: "UPSTREAM",
|
|
40
|
+
* source: "CUSTOM",
|
|
41
|
+
* url: "https://helm.sh",
|
|
42
|
+
* auths: [{
|
|
43
|
+
* authType: "UserPassword",
|
|
44
|
+
* userName: "registry_user",
|
|
45
|
+
* secretIdentifier: "registry_password",
|
|
46
|
+
* secretSpacePath: "accountId/orgId/projectId",
|
|
47
|
+
* }],
|
|
23
48
|
* }],
|
|
24
49
|
* parentRef: "accountId/orgId/projectId",
|
|
25
50
|
* });
|
|
@@ -66,6 +91,9 @@ class HarRegistry extends pulumi.CustomResource {
|
|
|
66
91
|
}
|
|
67
92
|
else {
|
|
68
93
|
const args = argsOrState;
|
|
94
|
+
if ((!args || args.configs === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'configs'");
|
|
96
|
+
}
|
|
69
97
|
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
70
98
|
throw new Error("Missing required property 'identifier'");
|
|
71
99
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harRegistry.js","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"harRegistry.js","sourceRoot":"","sources":["../../platform/harRegistry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OA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,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;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;;AApHL,kCAqHC;AAvGG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/platform/index.d.ts
CHANGED
|
@@ -241,6 +241,9 @@ export declare const getGitopsAgentOutput: typeof import("./getGitopsAgent").get
|
|
|
241
241
|
export { GetGitopsAgentDeployYamlArgs, GetGitopsAgentDeployYamlResult, GetGitopsAgentDeployYamlOutputArgs } from "./getGitopsAgentDeployYaml";
|
|
242
242
|
export declare const getGitopsAgentDeployYaml: typeof import("./getGitopsAgentDeployYaml").getGitopsAgentDeployYaml;
|
|
243
243
|
export declare const getGitopsAgentDeployYamlOutput: typeof import("./getGitopsAgentDeployYaml").getGitopsAgentDeployYamlOutput;
|
|
244
|
+
export { GetGitopsAgentOperatorYamlArgs, GetGitopsAgentOperatorYamlResult, GetGitopsAgentOperatorYamlOutputArgs } from "./getGitopsAgentOperatorYaml";
|
|
245
|
+
export declare const getGitopsAgentOperatorYaml: typeof import("./getGitopsAgentOperatorYaml").getGitopsAgentOperatorYaml;
|
|
246
|
+
export declare const getGitopsAgentOperatorYamlOutput: typeof import("./getGitopsAgentOperatorYaml").getGitopsAgentOperatorYamlOutput;
|
|
244
247
|
export { GetGitopsAppProjectArgs, GetGitopsAppProjectResult, GetGitopsAppProjectOutputArgs } from "./getGitopsAppProject";
|
|
245
248
|
export declare const getGitopsAppProject: typeof import("./getGitopsAppProject").getGitopsAppProject;
|
|
246
249
|
export declare const getGitopsAppProjectOutput: typeof import("./getGitopsAppProject").getGitopsAppProjectOutput;
|