@three14/pulumi-argocd 1.1.0 → 1.1.3
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/accountToken.d.ts +12 -11
- package/accountToken.d.ts.map +1 -0
- package/accountToken.js +27 -4
- package/accountToken.js.map +1 -1
- package/application.d.ts +12 -11
- package/application.d.ts.map +1 -0
- package/application.js +27 -4
- package/application.js.map +1 -1
- package/applicationSet.d.ts +3 -2
- package/applicationSet.d.ts.map +1 -0
- package/applicationSet.js +27 -4
- package/applicationSet.js.map +1 -1
- package/cluster.d.ts +16 -15
- package/cluster.d.ts.map +1 -0
- package/cluster.js +28 -5
- package/cluster.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +24 -1
- package/config/vars.js.map +1 -1
- package/getApplication.d.ts +79 -0
- package/getApplication.d.ts.map +1 -0
- package/getApplication.js +79 -0
- package/getApplication.js.map +1 -0
- package/gpgKey.d.ts +132 -0
- package/gpgKey.d.ts.map +1 -0
- package/gpgKey.js +134 -0
- package/gpgKey.js.map +1 -0
- package/index.d.ts +22 -0
- package/index.d.ts.map +1 -0
- package/index.js +50 -5
- package/index.js.map +1 -1
- package/package.json +4 -4
- package/project.d.ts +203 -0
- package/project.d.ts.map +1 -0
- package/project.js +220 -0
- package/project.js.map +1 -0
- package/projectToken.d.ts +153 -0
- package/projectToken.d.ts.map +1 -0
- package/projectToken.js +116 -0
- package/projectToken.js.map +1 -0
- package/provider.d.ts +21 -20
- package/provider.d.ts.map +1 -0
- package/provider.js +27 -4
- package/provider.js.map +1 -1
- package/repository.d.ts +365 -0
- package/repository.d.ts.map +1 -0
- package/repository.js +181 -0
- package/repository.js.map +1 -0
- package/repositoryCertificate.d.ts +85 -0
- package/repositoryCertificate.d.ts.map +1 -0
- package/repositoryCertificate.js +96 -0
- package/repositoryCertificate.js.map +1 -0
- package/repositoryCredentials.d.ts +229 -0
- package/repositoryCredentials.d.ts.map +1 -0
- package/repositoryCredentials.js +137 -0
- package/repositoryCredentials.js.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +6751 -6392
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +843 -0
- package/types/output.d.ts.map +1 -0
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
package/projectToken.js
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ProjectToken = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages ArgoCD project role JWT tokens. See [Project Roles](https://argo-cd.readthedocs.io/en/stable/user-guide/projects/#project-roles) for more info.
|
|
33
|
+
*
|
|
34
|
+
* > **Security Notice** The JWT token generated by this resource is treated as sensitive and, thus, not displayed in console output. However, it will be stored *unencrypted* in your Terraform state file. Read more about sensitive data handling in the Terraform documentation.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as argocd from "@three14/pulumi-argocd";
|
|
41
|
+
*
|
|
42
|
+
* const secret = new argocd.ProjectToken("secret", {
|
|
43
|
+
* project: "someproject",
|
|
44
|
+
* role: "foobar",
|
|
45
|
+
* description: "short lived token",
|
|
46
|
+
* expiresIn: "1h",
|
|
47
|
+
* renewBefore: "30m",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class ProjectToken extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing ProjectToken resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, state, opts) {
|
|
62
|
+
return new ProjectToken(name, state, { ...opts, id: id });
|
|
63
|
+
}
|
|
64
|
+
/** @internal */
|
|
65
|
+
static __pulumiType = 'argocd:index/projectToken:ProjectToken';
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of ProjectToken. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === ProjectToken.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
constructor(name, argsOrState, opts) {
|
|
77
|
+
let resourceInputs = {};
|
|
78
|
+
opts = opts || {};
|
|
79
|
+
if (opts.id) {
|
|
80
|
+
const state = argsOrState;
|
|
81
|
+
resourceInputs["description"] = state?.description;
|
|
82
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
83
|
+
resourceInputs["expiresIn"] = state?.expiresIn;
|
|
84
|
+
resourceInputs["issuedAt"] = state?.issuedAt;
|
|
85
|
+
resourceInputs["jwt"] = state?.jwt;
|
|
86
|
+
resourceInputs["project"] = state?.project;
|
|
87
|
+
resourceInputs["renewAfter"] = state?.renewAfter;
|
|
88
|
+
resourceInputs["renewBefore"] = state?.renewBefore;
|
|
89
|
+
resourceInputs["role"] = state?.role;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if (args?.project === undefined && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'project'");
|
|
95
|
+
}
|
|
96
|
+
if (args?.role === undefined && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'role'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["description"] = args?.description;
|
|
100
|
+
resourceInputs["expiresIn"] = args?.expiresIn;
|
|
101
|
+
resourceInputs["project"] = args?.project;
|
|
102
|
+
resourceInputs["renewAfter"] = args?.renewAfter;
|
|
103
|
+
resourceInputs["renewBefore"] = args?.renewBefore;
|
|
104
|
+
resourceInputs["role"] = args?.role;
|
|
105
|
+
resourceInputs["expiresAt"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["issuedAt"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["jwt"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
const secretOpts = { additionalSecretOutputs: ["jwt"] };
|
|
111
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
112
|
+
super(ProjectToken.__pulumiType, name, resourceInputs, opts);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.ProjectToken = ProjectToken;
|
|
116
|
+
//# sourceMappingURL=projectToken.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectToken.js","sourceRoot":"","sources":["../projectToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wCAAwC,CAAC;IAE/E;;;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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+CD,YAAY,IAAY,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C1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7GL,oCA8GC"}
|
package/provider.d.ts
CHANGED
|
@@ -80,27 +80,27 @@ export interface ProviderArgs {
|
|
|
80
80
|
/**
|
|
81
81
|
* ArgoCD authentication token, takes precedence over `username`/`password`. Can be set through the `ARGOCD_AUTH_TOKEN` environment variable.
|
|
82
82
|
*/
|
|
83
|
-
authToken?: pulumi.Input<string>;
|
|
83
|
+
authToken?: pulumi.Input<string | undefined>;
|
|
84
84
|
/**
|
|
85
85
|
* Additional root CA certificates file to add to the client TLS connection pool.
|
|
86
86
|
*/
|
|
87
|
-
certFile?: pulumi.Input<string>;
|
|
87
|
+
certFile?: pulumi.Input<string | undefined>;
|
|
88
88
|
/**
|
|
89
89
|
* Client certificate.
|
|
90
90
|
*/
|
|
91
|
-
clientCertFile?: pulumi.Input<string>;
|
|
91
|
+
clientCertFile?: pulumi.Input<string | undefined>;
|
|
92
92
|
/**
|
|
93
93
|
* Client certificate key.
|
|
94
94
|
*/
|
|
95
|
-
clientCertKey?: pulumi.Input<string>;
|
|
95
|
+
clientCertKey?: pulumi.Input<string | undefined>;
|
|
96
96
|
/**
|
|
97
97
|
* Override the default config path of `$HOME/.config/argocd/config`. Only relevant when `useLocalConfig`. Can be set through the `ARGOCD_CONFIG_PATH` environment variable.
|
|
98
98
|
*/
|
|
99
|
-
configPath?: pulumi.Input<string>;
|
|
99
|
+
configPath?: pulumi.Input<string | undefined>;
|
|
100
100
|
/**
|
|
101
101
|
* Context to choose when using a local ArgoCD config file. Only relevant when `useLocalConfig`. Can be set through `ARGOCD_CONTEXT` environment variable.
|
|
102
102
|
*/
|
|
103
|
-
context?: pulumi.Input<string>;
|
|
103
|
+
context?: pulumi.Input<string | undefined>;
|
|
104
104
|
/**
|
|
105
105
|
* Configure direct access using Kubernetes API server.
|
|
106
106
|
*
|
|
@@ -111,59 +111,59 @@ export interface ProviderArgs {
|
|
|
111
111
|
*
|
|
112
112
|
* To debug this, you will need to login via the ArgoCD CLI using `argocd login --core` and then running an operation. E.g. `argocd app list`.
|
|
113
113
|
*/
|
|
114
|
-
core?: pulumi.Input<boolean>;
|
|
114
|
+
core?: pulumi.Input<boolean | undefined>;
|
|
115
115
|
/**
|
|
116
116
|
* Whether to use gRPC web proxy client. Useful if Argo CD server is behind proxy which does not support HTTP2.
|
|
117
117
|
*/
|
|
118
|
-
grpcWeb?: pulumi.Input<boolean>;
|
|
118
|
+
grpcWeb?: pulumi.Input<boolean | undefined>;
|
|
119
119
|
/**
|
|
120
120
|
* Use the gRPC web proxy client and set the web root, e.g. `argo-cd`. Useful if the Argo CD server is behind a proxy at a non-root path.
|
|
121
121
|
*/
|
|
122
|
-
grpcWebRootPath?: pulumi.Input<string>;
|
|
122
|
+
grpcWebRootPath?: pulumi.Input<string | undefined>;
|
|
123
123
|
/**
|
|
124
124
|
* Additional headers to add to each request to the ArgoCD server.
|
|
125
125
|
*/
|
|
126
|
-
headers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
126
|
+
headers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
127
127
|
/**
|
|
128
128
|
* Whether to skip TLS server certificate. Can be set through the `ARGOCD_INSECURE` environment variable.
|
|
129
129
|
*/
|
|
130
|
-
insecure?: pulumi.Input<boolean>;
|
|
130
|
+
insecure?: pulumi.Input<boolean | undefined>;
|
|
131
131
|
/**
|
|
132
132
|
* Kubernetes configuration overrides. Only relevant when `portForward = true` or `portForwardWithNamespace = "foo"`. The kubeconfig file that is used can be overridden using the [`KUBECONFIG` environment variable](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#the-kubeconfig-environment-variable)).
|
|
133
133
|
*/
|
|
134
|
-
kubernetes?: pulumi.Input<inputs.ProviderKubernetes>;
|
|
134
|
+
kubernetes?: pulumi.Input<inputs.ProviderKubernetes | undefined>;
|
|
135
135
|
/**
|
|
136
136
|
* Authentication password. Can be set through the `ARGOCD_AUTH_PASSWORD` environment variable.
|
|
137
137
|
*/
|
|
138
|
-
password?: pulumi.Input<string>;
|
|
138
|
+
password?: pulumi.Input<string | undefined>;
|
|
139
139
|
/**
|
|
140
140
|
* Whether to initiate an unencrypted connection to ArgoCD server.
|
|
141
141
|
*/
|
|
142
|
-
plainText?: pulumi.Input<boolean>;
|
|
142
|
+
plainText?: pulumi.Input<boolean | undefined>;
|
|
143
143
|
/**
|
|
144
144
|
* Connect to a random argocd-server port using port forwarding.
|
|
145
145
|
*/
|
|
146
|
-
portForward?: pulumi.Input<boolean>;
|
|
146
|
+
portForward?: pulumi.Input<boolean | undefined>;
|
|
147
147
|
/**
|
|
148
148
|
* Namespace name which should be used for port forwarding.
|
|
149
149
|
*/
|
|
150
|
-
portForwardWithNamespace?: pulumi.Input<string>;
|
|
150
|
+
portForwardWithNamespace?: pulumi.Input<string | undefined>;
|
|
151
151
|
/**
|
|
152
152
|
* ArgoCD server address with port. Can be set through the `ARGOCD_SERVER` environment variable.
|
|
153
153
|
*/
|
|
154
|
-
serverAddr?: pulumi.Input<string>;
|
|
154
|
+
serverAddr?: pulumi.Input<string | undefined>;
|
|
155
155
|
/**
|
|
156
156
|
* Use the authentication settings found in the local config file. Useful when you have previously logged in using SSO. Conflicts with `authToken`, `username` and `password`.
|
|
157
157
|
*/
|
|
158
|
-
useLocalConfig?: pulumi.Input<boolean>;
|
|
158
|
+
useLocalConfig?: pulumi.Input<boolean | undefined>;
|
|
159
159
|
/**
|
|
160
160
|
* User-Agent request header override.
|
|
161
161
|
*/
|
|
162
|
-
userAgent?: pulumi.Input<string>;
|
|
162
|
+
userAgent?: pulumi.Input<string | undefined>;
|
|
163
163
|
/**
|
|
164
164
|
* Authentication username. Can be set through the `ARGOCD_AUTH_USERNAME` environment variable.
|
|
165
165
|
*/
|
|
166
|
-
username?: pulumi.Input<string>;
|
|
166
|
+
username?: pulumi.Input<string | undefined>;
|
|
167
167
|
}
|
|
168
168
|
export declare namespace Provider {
|
|
169
169
|
/**
|
|
@@ -175,3 +175,4 @@ export declare namespace Provider {
|
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,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AC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C;AAED,yBAAiB,QAAQ,CAAC;IACtB;;OAEG;IACH,UAAiB,qBAAqB;QAClC,QAAQ,CAAC,MAAM,EAAE;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC;KACzC;CAEJ"}
|
package/provider.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Provider = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The provider type for the argocd package. By default, resources use package-wide configuration
|
|
10
33
|
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
@@ -12,6 +35,8 @@ const utilities = require("./utilities");
|
|
|
12
35
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
36
|
*/
|
|
14
37
|
class Provider extends pulumi.ProviderResource {
|
|
38
|
+
/** @internal */
|
|
39
|
+
static __pulumiType = 'argocd';
|
|
15
40
|
/**
|
|
16
41
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
42
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -69,6 +94,4 @@ class Provider extends pulumi.ProviderResource {
|
|
|
69
94
|
}
|
|
70
95
|
}
|
|
71
96
|
exports.Provider = Provider;
|
|
72
|
-
/** @internal */
|
|
73
|
-
Provider.__pulumiType = 'argocd';
|
|
74
97
|
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,QAAQ,CAAC;IAE/C;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAmDD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cA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AI,CAAC,SAAS,CAAC,CAAC;YACvF,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC7F,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC;QAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,yCAAyC,EAAE;YAClE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AA7GL,4BA8GC"}
|
package/repository.d.ts
ADDED
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages [repositories](https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#repositories) within ArgoCD.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as argocd from "@three14/pulumi-argocd";
|
|
10
|
+
*
|
|
11
|
+
* // Public Helm repository
|
|
12
|
+
* const publicNginxHelm = new argocd.Repository("public_nginx_helm", {
|
|
13
|
+
* repo: "https://helm.nginx.com/stable",
|
|
14
|
+
* name: "nginx-stable",
|
|
15
|
+
* type: "helm",
|
|
16
|
+
* });
|
|
17
|
+
* // Public Git repository
|
|
18
|
+
* const publicGit = new argocd.Repository("public_git", {repo: "git@github.com:user/somerepo.git"});
|
|
19
|
+
* // Private Git repository
|
|
20
|
+
* const _private = new argocd.Repository("private", {
|
|
21
|
+
* repo: "git@private-git-repository.local:somerepo.git",
|
|
22
|
+
* username: "git",
|
|
23
|
+
* sshPrivateKey: `-----BEGIN OPENSSH PRIVATE KEY-----
|
|
24
|
+
* foo
|
|
25
|
+
* bar
|
|
26
|
+
* -----END OPENSSH PRIVATE KEY-----`,
|
|
27
|
+
* insecure: true,
|
|
28
|
+
* });
|
|
29
|
+
* // Repository with proxy configuration
|
|
30
|
+
* const withProxy = new argocd.Repository("with_proxy", {
|
|
31
|
+
* repo: "https://github.com/example/repo.git",
|
|
32
|
+
* username: "git",
|
|
33
|
+
* password: "my-token",
|
|
34
|
+
* proxy: "http://proxy.example.com:8080",
|
|
35
|
+
* noProxy: "*.internal.example.com,localhost",
|
|
36
|
+
* });
|
|
37
|
+
* // OCI repository (e.g., for Helm charts stored in OCI registries)
|
|
38
|
+
* const ociRegistry = new argocd.Repository("oci_registry", {
|
|
39
|
+
* repo: "oci://ghcr.io/argoproj/argo-helm/argo-cd",
|
|
40
|
+
* name: "argocd-oci",
|
|
41
|
+
* type: "oci",
|
|
42
|
+
* username: "my-username",
|
|
43
|
+
* password: "my-token",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* The `pulumi import` command can be used, for example:
|
|
50
|
+
*
|
|
51
|
+
* Repositories can be imported using the repository URL.
|
|
52
|
+
*
|
|
53
|
+
* Note: as the ArgoCD API does not return any sensitive information, a
|
|
54
|
+
* subsequent `pulumi up` should be executed to make the `password`,
|
|
55
|
+
* `sshPrivateKey` and `tlsClientCertKey` attributes converge to their
|
|
56
|
+
* expected values defined within the plan.
|
|
57
|
+
*
|
|
58
|
+
* ```sh
|
|
59
|
+
* $ pulumi import argocd:index/repository:Repository myrepo git@private-git-repository.local:somerepo.git
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare class Repository extends pulumi.CustomResource {
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing Repository resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryState, opts?: pulumi.CustomResourceOptions): Repository;
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of Repository. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj: any): obj is Repository;
|
|
78
|
+
/**
|
|
79
|
+
* BearerToken contains the bearer token used for Git BitBucket Data Center auth at the repo server
|
|
80
|
+
*/
|
|
81
|
+
readonly bearerToken: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Contains information about the current state of connection to the repository server.
|
|
84
|
+
*/
|
|
85
|
+
readonly connectionStateStatus: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Depth specifies the depth for [shallow clones](https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#shallow-clone). A value of `0` means a full clone (the default). Shallow clone depths (`> 0`) are only supported from ArgoCD 3.3.0 onwards.
|
|
88
|
+
*/
|
|
89
|
+
readonly depth: pulumi.Output<number>;
|
|
90
|
+
/**
|
|
91
|
+
* Whether `git-lfs` support should be enabled for this repository.
|
|
92
|
+
*/
|
|
93
|
+
readonly enableLfs: pulumi.Output<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* Whether `helm-oci` support should be enabled for this repository.
|
|
96
|
+
*/
|
|
97
|
+
readonly enableOci: pulumi.Output<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* GitHub API URL for GitHub app authentication.
|
|
100
|
+
*/
|
|
101
|
+
readonly githubappEnterpriseBaseUrl: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* ID of the GitHub app used to access the repo.
|
|
104
|
+
*/
|
|
105
|
+
readonly githubappId: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The installation ID of the GitHub App used to access the repo.
|
|
108
|
+
*/
|
|
109
|
+
readonly githubappInstallationId: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Private key data (PEM) for authentication via GitHub app.
|
|
112
|
+
*/
|
|
113
|
+
readonly githubappPrivateKey: pulumi.Output<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* Whether credentials were inherited from a credential set.
|
|
116
|
+
*/
|
|
117
|
+
readonly inheritedCreds: pulumi.Output<boolean>;
|
|
118
|
+
/**
|
|
119
|
+
* Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
|
|
120
|
+
*/
|
|
121
|
+
readonly insecure: pulumi.Output<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* Name to be used for this repo. Only used with Helm repos.
|
|
124
|
+
*/
|
|
125
|
+
readonly name: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Comma-separated list of hostnames that should be excluded from proxying.
|
|
128
|
+
*/
|
|
129
|
+
readonly noProxy: pulumi.Output<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Password or PAT used for authenticating at the remote repository.
|
|
132
|
+
*/
|
|
133
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* The project name, in case the repository is project scoped.
|
|
136
|
+
*/
|
|
137
|
+
readonly project: pulumi.Output<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* HTTP/HTTPS proxy to access the repository.
|
|
140
|
+
*/
|
|
141
|
+
readonly proxy: pulumi.Output<string | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* URL of the repository.
|
|
144
|
+
*/
|
|
145
|
+
readonly repo: pulumi.Output<string>;
|
|
146
|
+
/**
|
|
147
|
+
* PEM data for authenticating at the repo server. Only used with Git repos.
|
|
148
|
+
*/
|
|
149
|
+
readonly sshPrivateKey: pulumi.Output<string | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* TLS client certificate in PEM format for authenticating at the repo server.
|
|
152
|
+
*/
|
|
153
|
+
readonly tlsClientCertData: pulumi.Output<string | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* TLS client certificate private key in PEM format for authenticating at the repo server.
|
|
156
|
+
*/
|
|
157
|
+
readonly tlsClientCertKey: pulumi.Output<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* Type of the repo. Can be either `git`, `helm` or `oci`. `git` is assumed if empty or absent.
|
|
160
|
+
*/
|
|
161
|
+
readonly type: pulumi.Output<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Whether `Azure-Workload-identity` should be enabled for this repository.
|
|
164
|
+
*/
|
|
165
|
+
readonly useAzureWorkloadIdentity: pulumi.Output<boolean>;
|
|
166
|
+
/**
|
|
167
|
+
* Username used for authenticating at the remote repository.
|
|
168
|
+
*/
|
|
169
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Create a Repository resource with the given unique name, arguments, and options.
|
|
172
|
+
*
|
|
173
|
+
* @param name The _unique_ name of the resource.
|
|
174
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
175
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
176
|
+
*/
|
|
177
|
+
constructor(name: string, args: RepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Input properties used for looking up and filtering Repository resources.
|
|
181
|
+
*/
|
|
182
|
+
export interface RepositoryState {
|
|
183
|
+
/**
|
|
184
|
+
* BearerToken contains the bearer token used for Git BitBucket Data Center auth at the repo server
|
|
185
|
+
*/
|
|
186
|
+
bearerToken?: pulumi.Input<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Contains information about the current state of connection to the repository server.
|
|
189
|
+
*/
|
|
190
|
+
connectionStateStatus?: pulumi.Input<string | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* Depth specifies the depth for [shallow clones](https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#shallow-clone). A value of `0` means a full clone (the default). Shallow clone depths (`> 0`) are only supported from ArgoCD 3.3.0 onwards.
|
|
193
|
+
*/
|
|
194
|
+
depth?: pulumi.Input<number | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* Whether `git-lfs` support should be enabled for this repository.
|
|
197
|
+
*/
|
|
198
|
+
enableLfs?: pulumi.Input<boolean | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* Whether `helm-oci` support should be enabled for this repository.
|
|
201
|
+
*/
|
|
202
|
+
enableOci?: pulumi.Input<boolean | undefined>;
|
|
203
|
+
/**
|
|
204
|
+
* GitHub API URL for GitHub app authentication.
|
|
205
|
+
*/
|
|
206
|
+
githubappEnterpriseBaseUrl?: pulumi.Input<string | undefined>;
|
|
207
|
+
/**
|
|
208
|
+
* ID of the GitHub app used to access the repo.
|
|
209
|
+
*/
|
|
210
|
+
githubappId?: pulumi.Input<string | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* The installation ID of the GitHub App used to access the repo.
|
|
213
|
+
*/
|
|
214
|
+
githubappInstallationId?: pulumi.Input<string | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* Private key data (PEM) for authentication via GitHub app.
|
|
217
|
+
*/
|
|
218
|
+
githubappPrivateKey?: pulumi.Input<string | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* Whether credentials were inherited from a credential set.
|
|
221
|
+
*/
|
|
222
|
+
inheritedCreds?: pulumi.Input<boolean | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
|
|
225
|
+
*/
|
|
226
|
+
insecure?: pulumi.Input<boolean | undefined>;
|
|
227
|
+
/**
|
|
228
|
+
* Name to be used for this repo. Only used with Helm repos.
|
|
229
|
+
*/
|
|
230
|
+
name?: pulumi.Input<string | undefined>;
|
|
231
|
+
/**
|
|
232
|
+
* Comma-separated list of hostnames that should be excluded from proxying.
|
|
233
|
+
*/
|
|
234
|
+
noProxy?: pulumi.Input<string | undefined>;
|
|
235
|
+
/**
|
|
236
|
+
* Password or PAT used for authenticating at the remote repository.
|
|
237
|
+
*/
|
|
238
|
+
password?: pulumi.Input<string | undefined>;
|
|
239
|
+
/**
|
|
240
|
+
* The project name, in case the repository is project scoped.
|
|
241
|
+
*/
|
|
242
|
+
project?: pulumi.Input<string | undefined>;
|
|
243
|
+
/**
|
|
244
|
+
* HTTP/HTTPS proxy to access the repository.
|
|
245
|
+
*/
|
|
246
|
+
proxy?: pulumi.Input<string | undefined>;
|
|
247
|
+
/**
|
|
248
|
+
* URL of the repository.
|
|
249
|
+
*/
|
|
250
|
+
repo?: pulumi.Input<string | undefined>;
|
|
251
|
+
/**
|
|
252
|
+
* PEM data for authenticating at the repo server. Only used with Git repos.
|
|
253
|
+
*/
|
|
254
|
+
sshPrivateKey?: pulumi.Input<string | undefined>;
|
|
255
|
+
/**
|
|
256
|
+
* TLS client certificate in PEM format for authenticating at the repo server.
|
|
257
|
+
*/
|
|
258
|
+
tlsClientCertData?: pulumi.Input<string | undefined>;
|
|
259
|
+
/**
|
|
260
|
+
* TLS client certificate private key in PEM format for authenticating at the repo server.
|
|
261
|
+
*/
|
|
262
|
+
tlsClientCertKey?: pulumi.Input<string | undefined>;
|
|
263
|
+
/**
|
|
264
|
+
* Type of the repo. Can be either `git`, `helm` or `oci`. `git` is assumed if empty or absent.
|
|
265
|
+
*/
|
|
266
|
+
type?: pulumi.Input<string | undefined>;
|
|
267
|
+
/**
|
|
268
|
+
* Whether `Azure-Workload-identity` should be enabled for this repository.
|
|
269
|
+
*/
|
|
270
|
+
useAzureWorkloadIdentity?: pulumi.Input<boolean | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* Username used for authenticating at the remote repository.
|
|
273
|
+
*/
|
|
274
|
+
username?: pulumi.Input<string | undefined>;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* The set of arguments for constructing a Repository resource.
|
|
278
|
+
*/
|
|
279
|
+
export interface RepositoryArgs {
|
|
280
|
+
/**
|
|
281
|
+
* BearerToken contains the bearer token used for Git BitBucket Data Center auth at the repo server
|
|
282
|
+
*/
|
|
283
|
+
bearerToken?: pulumi.Input<string | undefined>;
|
|
284
|
+
/**
|
|
285
|
+
* Depth specifies the depth for [shallow clones](https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#shallow-clone). A value of `0` means a full clone (the default). Shallow clone depths (`> 0`) are only supported from ArgoCD 3.3.0 onwards.
|
|
286
|
+
*/
|
|
287
|
+
depth?: pulumi.Input<number | undefined>;
|
|
288
|
+
/**
|
|
289
|
+
* Whether `git-lfs` support should be enabled for this repository.
|
|
290
|
+
*/
|
|
291
|
+
enableLfs?: pulumi.Input<boolean | undefined>;
|
|
292
|
+
/**
|
|
293
|
+
* Whether `helm-oci` support should be enabled for this repository.
|
|
294
|
+
*/
|
|
295
|
+
enableOci?: pulumi.Input<boolean | undefined>;
|
|
296
|
+
/**
|
|
297
|
+
* GitHub API URL for GitHub app authentication.
|
|
298
|
+
*/
|
|
299
|
+
githubappEnterpriseBaseUrl?: pulumi.Input<string | undefined>;
|
|
300
|
+
/**
|
|
301
|
+
* ID of the GitHub app used to access the repo.
|
|
302
|
+
*/
|
|
303
|
+
githubappId?: pulumi.Input<string | undefined>;
|
|
304
|
+
/**
|
|
305
|
+
* The installation ID of the GitHub App used to access the repo.
|
|
306
|
+
*/
|
|
307
|
+
githubappInstallationId?: pulumi.Input<string | undefined>;
|
|
308
|
+
/**
|
|
309
|
+
* Private key data (PEM) for authentication via GitHub app.
|
|
310
|
+
*/
|
|
311
|
+
githubappPrivateKey?: pulumi.Input<string | undefined>;
|
|
312
|
+
/**
|
|
313
|
+
* Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
|
|
314
|
+
*/
|
|
315
|
+
insecure?: pulumi.Input<boolean | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* Name to be used for this repo. Only used with Helm repos.
|
|
318
|
+
*/
|
|
319
|
+
name?: pulumi.Input<string | undefined>;
|
|
320
|
+
/**
|
|
321
|
+
* Comma-separated list of hostnames that should be excluded from proxying.
|
|
322
|
+
*/
|
|
323
|
+
noProxy?: pulumi.Input<string | undefined>;
|
|
324
|
+
/**
|
|
325
|
+
* Password or PAT used for authenticating at the remote repository.
|
|
326
|
+
*/
|
|
327
|
+
password?: pulumi.Input<string | undefined>;
|
|
328
|
+
/**
|
|
329
|
+
* The project name, in case the repository is project scoped.
|
|
330
|
+
*/
|
|
331
|
+
project?: pulumi.Input<string | undefined>;
|
|
332
|
+
/**
|
|
333
|
+
* HTTP/HTTPS proxy to access the repository.
|
|
334
|
+
*/
|
|
335
|
+
proxy?: pulumi.Input<string | undefined>;
|
|
336
|
+
/**
|
|
337
|
+
* URL of the repository.
|
|
338
|
+
*/
|
|
339
|
+
repo: pulumi.Input<string>;
|
|
340
|
+
/**
|
|
341
|
+
* PEM data for authenticating at the repo server. Only used with Git repos.
|
|
342
|
+
*/
|
|
343
|
+
sshPrivateKey?: pulumi.Input<string | undefined>;
|
|
344
|
+
/**
|
|
345
|
+
* TLS client certificate in PEM format for authenticating at the repo server.
|
|
346
|
+
*/
|
|
347
|
+
tlsClientCertData?: pulumi.Input<string | undefined>;
|
|
348
|
+
/**
|
|
349
|
+
* TLS client certificate private key in PEM format for authenticating at the repo server.
|
|
350
|
+
*/
|
|
351
|
+
tlsClientCertKey?: pulumi.Input<string | undefined>;
|
|
352
|
+
/**
|
|
353
|
+
* Type of the repo. Can be either `git`, `helm` or `oci`. `git` is assumed if empty or absent.
|
|
354
|
+
*/
|
|
355
|
+
type?: pulumi.Input<string | undefined>;
|
|
356
|
+
/**
|
|
357
|
+
* Whether `Azure-Workload-identity` should be enabled for this repository.
|
|
358
|
+
*/
|
|
359
|
+
useAzureWorkloadIdentity?: pulumi.Input<boolean | undefined>;
|
|
360
|
+
/**
|
|
361
|
+
* Username used for authenticating at the remote repository.
|
|
362
|
+
*/
|
|
363
|
+
username?: pulumi.Input<string | undefined>;
|
|
364
|
+
}
|
|
365
|
+
//# sourceMappingURL=repository.d.ts.map
|