@pulumi/kubernetes-cert-manager 0.0.1-alpha.102
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/LICENSE +202 -0
- package/README.md +31 -0
- package/certManager.d.ts +108 -0
- package/certManager.js +79 -0
- package/certManager.js.map +1 -0
- package/index.d.ts +8 -0
- package/index.js +36 -0
- package/index.js.map +1 -0
- package/package.json +31 -0
- package/package.json.dev +30 -0
- package/provider.d.ts +21 -0
- package/provider.js +38 -0
- package/provider.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +466 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +30 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Pulumi Cert Manager Component
|
|
2
|
+
|
|
3
|
+
This repo contains the Pulumi Cert Manager component for Kubernetes. This add-on automates the
|
|
4
|
+
management and issuance of TLS certificates from various issuing sources. It ensures certificates
|
|
5
|
+
are valid and up to date periodically, and attempts to renew certificates at an appropriate time
|
|
6
|
+
before expiry.
|
|
7
|
+
|
|
8
|
+
This component wraps [the Jetstack Cert Manager Helm Chart](https://github.com/jetstack/cert-manager),
|
|
9
|
+
and offers a Pulumi-friendly and strongly-typed way to manage Cert Manager installations.
|
|
10
|
+
|
|
11
|
+
For examples of usage, see [the official documentation](https://cert-manager.io/docs/),
|
|
12
|
+
or refer to [the examples](/examples) in this repo.
|
|
13
|
+
|
|
14
|
+
## To Use
|
|
15
|
+
|
|
16
|
+
To use this component, first install the Pulumi Package:
|
|
17
|
+
|
|
18
|
+
Afterwards, import the library and instantiate it within your Pulumi program:
|
|
19
|
+
|
|
20
|
+
## Configuration
|
|
21
|
+
|
|
22
|
+
This component supports all of the configuration options of the [official Helm chart](
|
|
23
|
+
https://github.com/jetstack/cert-manager/tree/master/deploy/charts/cert-manager), except that these
|
|
24
|
+
are strongly typed so you will get IDE support and static error checking.
|
|
25
|
+
|
|
26
|
+
The Helm deployment uses reasonable defaults, including the chart name and repo URL, however,
|
|
27
|
+
if you need to override them, you may do so using the `helmOptions` parameter. Refer to
|
|
28
|
+
[the API docs for the `kubernetes:helm/v3:Release` Pulumi type](
|
|
29
|
+
https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/release/#inputs) for a full set of choices.
|
|
30
|
+
|
|
31
|
+
For complete details, refer to the Pulumi Package details within the Pulumi Registry.
|
package/certManager.d.ts
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
import * as pulumiKubernetes from "@pulumi/kubernetes";
|
|
5
|
+
/**
|
|
6
|
+
* Automates the management and issuance of TLS certificates from various issuing sources within Kubernetes
|
|
7
|
+
*/
|
|
8
|
+
export declare class CertManager extends pulumi.ComponentResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of CertManager. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj: any): obj is CertManager;
|
|
14
|
+
/**
|
|
15
|
+
* Detailed information about the status of the underlying Helm deployment.
|
|
16
|
+
*/
|
|
17
|
+
readonly status: pulumi.Output<outputs.ReleaseStatus>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a CertManager resource with the given unique name, arguments, and options.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resource.
|
|
22
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
23
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
24
|
+
*/
|
|
25
|
+
constructor(name: string, args?: CertManagerArgs, opts?: pulumi.ComponentResourceOptions);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The set of arguments for constructing a CertManager resource.
|
|
29
|
+
*/
|
|
30
|
+
export interface CertManagerArgs {
|
|
31
|
+
affinity?: pulumi.Input<pulumiKubernetes.types.input.core.v1.Affinity>;
|
|
32
|
+
cainjector?: pulumi.Input<inputs.CertManagerCaInjectorArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Override the namespace used to store DNS provider credentials etc. for ClusterIssuer resources. By default, the same namespace as cert-manager is deployed within is used. This namespace will not be automatically created by the Helm chart.
|
|
35
|
+
*/
|
|
36
|
+
clusterResourceNamespace?: pulumi.Input<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Container Security Context to be set on the controller component container. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
39
|
+
*/
|
|
40
|
+
containerSecurityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.SecurityContext>;
|
|
41
|
+
/**
|
|
42
|
+
* Optional additional annotations to add to the controller Deployment
|
|
43
|
+
*/
|
|
44
|
+
deploymentAnnotations?: pulumi.Input<{
|
|
45
|
+
[key: string]: pulumi.Input<string>;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Optional additional arguments.
|
|
49
|
+
*/
|
|
50
|
+
extraArgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
51
|
+
extraEnv?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.EnvVar>[]>;
|
|
52
|
+
extraVolumeMounts?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.VolumeMount>[]>;
|
|
53
|
+
extraVolumes?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.Volume>[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Comma separated list of feature gates that should be enabled on the controller pod.
|
|
56
|
+
*/
|
|
57
|
+
featureGates?: pulumi.Input<string>;
|
|
58
|
+
global?: pulumi.Input<inputs.CertManagerGlobalArgs>;
|
|
59
|
+
/**
|
|
60
|
+
* HelmOptions is an escape hatch that lets the end user control any aspect of the Helm deployment. This exposes the entirety of the underlying Helm Release component args.
|
|
61
|
+
*/
|
|
62
|
+
helmOptions?: pulumi.Input<inputs.ReleaseArgs>;
|
|
63
|
+
http_proxy?: pulumi.Input<string>;
|
|
64
|
+
https_proxy?: pulumi.Input<string>;
|
|
65
|
+
image?: pulumi.Input<inputs.CertManagerImageArgs>;
|
|
66
|
+
ingressShim?: pulumi.Input<inputs.CertManagerIngressShimArgs>;
|
|
67
|
+
installCRDs?: pulumi.Input<boolean>;
|
|
68
|
+
no_proxy?: pulumi.Input<pulumi.Input<string>[]>;
|
|
69
|
+
nodeSelector?: pulumi.Input<pulumiKubernetes.types.input.core.v1.NodeSelector>;
|
|
70
|
+
/**
|
|
71
|
+
* Optional additional annotations to add to the controller Pods
|
|
72
|
+
*/
|
|
73
|
+
podAnnotations?: pulumi.Input<{
|
|
74
|
+
[key: string]: pulumi.Input<string>;
|
|
75
|
+
}>;
|
|
76
|
+
podDnsConfig?: pulumi.Input<pulumiKubernetes.types.input.core.v1.PodDNSConfig>;
|
|
77
|
+
/**
|
|
78
|
+
* Optional DNS settings, useful if you have a public and private DNS zone for the same domain on Route 53. What follows is an example of ensuring cert-manager can access an ingress or DNS TXT records at all times. NOTE: This requires Kubernetes 1.10 or `CustomPodDNS` feature gate enabled for the cluster to work.
|
|
79
|
+
*/
|
|
80
|
+
podDnsPolicy?: pulumi.Input<string>;
|
|
81
|
+
podLabels?: pulumi.Input<{
|
|
82
|
+
[key: string]: pulumi.Input<string>;
|
|
83
|
+
}>;
|
|
84
|
+
prometheus?: pulumi.Input<inputs.CertManagerPrometheusArgs>;
|
|
85
|
+
replicaCount?: pulumi.Input<number>;
|
|
86
|
+
resources?: pulumi.Input<pulumiKubernetes.types.input.core.v1.ResourceRequirements>;
|
|
87
|
+
/**
|
|
88
|
+
* Pod Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
89
|
+
*/
|
|
90
|
+
securityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.PodSecurityContext>;
|
|
91
|
+
serviceAccount?: pulumi.Input<inputs.CertManagerServiceAccountArgs>;
|
|
92
|
+
/**
|
|
93
|
+
* Optional additional annotations to add to the controller service
|
|
94
|
+
*/
|
|
95
|
+
serviceAnnotations?: pulumi.Input<{
|
|
96
|
+
[key: string]: pulumi.Input<string>;
|
|
97
|
+
}>;
|
|
98
|
+
/**
|
|
99
|
+
* Optional additional labels to add to the controller Service
|
|
100
|
+
*/
|
|
101
|
+
serviceLabels?: pulumi.Input<{
|
|
102
|
+
[key: string]: pulumi.Input<string>;
|
|
103
|
+
}>;
|
|
104
|
+
startupapicheck?: pulumi.Input<inputs.CertManagerStartupAPICheckArgs>;
|
|
105
|
+
strategy?: pulumi.Input<pulumiKubernetes.types.input.apps.v1.DeploymentStrategy>;
|
|
106
|
+
tolerations?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.Toleration>[]>;
|
|
107
|
+
webhook?: pulumi.Input<inputs.CertManagerWebhookArgs>;
|
|
108
|
+
}
|
package/certManager.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CertManager = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Automates the management and issuance of TLS certificates from various issuing sources within Kubernetes
|
|
10
|
+
*/
|
|
11
|
+
class CertManager extends pulumi.ComponentResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of CertManager. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj) {
|
|
17
|
+
if (obj === undefined || obj === null) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return obj['__pulumiType'] === CertManager.__pulumiType;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Create a CertManager resource with the given unique name, arguments, and options.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resource.
|
|
26
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
27
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
28
|
+
*/
|
|
29
|
+
constructor(name, args, opts) {
|
|
30
|
+
let resourceInputs = {};
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
if (!opts.id) {
|
|
33
|
+
resourceInputs["affinity"] = args ? args.affinity : undefined;
|
|
34
|
+
resourceInputs["cainjector"] = args ? args.cainjector : undefined;
|
|
35
|
+
resourceInputs["clusterResourceNamespace"] = args ? args.clusterResourceNamespace : undefined;
|
|
36
|
+
resourceInputs["containerSecurityContext"] = args ? args.containerSecurityContext : undefined;
|
|
37
|
+
resourceInputs["deploymentAnnotations"] = args ? args.deploymentAnnotations : undefined;
|
|
38
|
+
resourceInputs["extraArgs"] = args ? args.extraArgs : undefined;
|
|
39
|
+
resourceInputs["extraEnv"] = args ? args.extraEnv : undefined;
|
|
40
|
+
resourceInputs["extraVolumeMounts"] = args ? args.extraVolumeMounts : undefined;
|
|
41
|
+
resourceInputs["extraVolumes"] = args ? args.extraVolumes : undefined;
|
|
42
|
+
resourceInputs["featureGates"] = args ? args.featureGates : undefined;
|
|
43
|
+
resourceInputs["global"] = args ? args.global : undefined;
|
|
44
|
+
resourceInputs["helmOptions"] = args ? args.helmOptions : undefined;
|
|
45
|
+
resourceInputs["http_proxy"] = args ? args.http_proxy : undefined;
|
|
46
|
+
resourceInputs["https_proxy"] = args ? args.https_proxy : undefined;
|
|
47
|
+
resourceInputs["image"] = args ? args.image : undefined;
|
|
48
|
+
resourceInputs["ingressShim"] = args ? args.ingressShim : undefined;
|
|
49
|
+
resourceInputs["installCRDs"] = args ? args.installCRDs : undefined;
|
|
50
|
+
resourceInputs["no_proxy"] = args ? args.no_proxy : undefined;
|
|
51
|
+
resourceInputs["nodeSelector"] = args ? args.nodeSelector : undefined;
|
|
52
|
+
resourceInputs["podAnnotations"] = args ? args.podAnnotations : undefined;
|
|
53
|
+
resourceInputs["podDnsConfig"] = args ? args.podDnsConfig : undefined;
|
|
54
|
+
resourceInputs["podDnsPolicy"] = args ? args.podDnsPolicy : undefined;
|
|
55
|
+
resourceInputs["podLabels"] = args ? args.podLabels : undefined;
|
|
56
|
+
resourceInputs["prometheus"] = args ? args.prometheus : undefined;
|
|
57
|
+
resourceInputs["replicaCount"] = args ? args.replicaCount : undefined;
|
|
58
|
+
resourceInputs["resources"] = args ? args.resources : undefined;
|
|
59
|
+
resourceInputs["securityContext"] = args ? args.securityContext : undefined;
|
|
60
|
+
resourceInputs["serviceAccount"] = args ? args.serviceAccount : undefined;
|
|
61
|
+
resourceInputs["serviceAnnotations"] = args ? args.serviceAnnotations : undefined;
|
|
62
|
+
resourceInputs["serviceLabels"] = args ? args.serviceLabels : undefined;
|
|
63
|
+
resourceInputs["startupapicheck"] = args ? args.startupapicheck : undefined;
|
|
64
|
+
resourceInputs["strategy"] = args ? args.strategy : undefined;
|
|
65
|
+
resourceInputs["tolerations"] = args ? args.tolerations : undefined;
|
|
66
|
+
resourceInputs["webhook"] = args ? args.webhook : undefined;
|
|
67
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(CertManager.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.CertManager = CertManager;
|
|
77
|
+
/** @internal */
|
|
78
|
+
CertManager.__pulumiType = 'kubernetes-cert-manager:index:CertManager';
|
|
79
|
+
//# sourceMappingURL=certManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certManager.js","sourceRoot":"","sources":["../certManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAIzC;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,iBAAiB;IAIrD;;;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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAOD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAsC;QACpF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;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,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACjF,CAAC;;AAvEL,kCAwEC;AAvEG,gBAAgB;AACO,wBAAY,GAAG,2CAA2C,CAAC"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { CertManagerArgs } from "./certManager";
|
|
2
|
+
export type CertManager = import("./certManager").CertManager;
|
|
3
|
+
export declare const CertManager: typeof import("./certManager").CertManager;
|
|
4
|
+
export { ProviderArgs } from "./provider";
|
|
5
|
+
export type Provider = import("./provider").Provider;
|
|
6
|
+
export declare const Provider: typeof import("./provider").Provider;
|
|
7
|
+
import * as types from "./types";
|
|
8
|
+
export { types, };
|
package/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.types = exports.Provider = exports.CertManager = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
exports.CertManager = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["CertManager"], () => require("./certManager"));
|
|
10
|
+
exports.Provider = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
12
|
+
// Export sub-modules:
|
|
13
|
+
const types = require("./types");
|
|
14
|
+
exports.types = types;
|
|
15
|
+
const _module = {
|
|
16
|
+
version: utilities.getVersion(),
|
|
17
|
+
construct: (name, type, urn) => {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case "kubernetes-cert-manager:index:CertManager":
|
|
20
|
+
return new exports.CertManager(name, undefined, { urn });
|
|
21
|
+
default:
|
|
22
|
+
throw new Error(`unknown resource type ${type}`);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
pulumi.runtime.registerResourceModule("kubernetes-cert-manager", "index", _module);
|
|
27
|
+
pulumi.runtime.registerResourcePackage("kubernetes-cert-manager", {
|
|
28
|
+
version: utilities.getVersion(),
|
|
29
|
+
constructProvider: (name, type, urn) => {
|
|
30
|
+
if (type !== "pulumi:providers:kubernetes-cert-manager") {
|
|
31
|
+
throw new Error(`unknown provider type ${type}`);
|
|
32
|
+
}
|
|
33
|
+
return new exports.Provider(name, undefined, { urn });
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,iCAAiC;AAG7B,sBAAK;AAGT,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,yBAAyB,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,EAAE;IAC9D,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0CAA0C,EAAE;YACrD,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/kubernetes-cert-manager",
|
|
3
|
+
"version": "0.0.1-alpha.102",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pulumi",
|
|
6
|
+
"kubernetes",
|
|
7
|
+
"cert-manager",
|
|
8
|
+
"kind/component",
|
|
9
|
+
"category/infrastructure"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://pulumi.io",
|
|
12
|
+
"repository": "https://github.com/pulumi/pulumi-kubernetes-cert-manager",
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource kubernetes-cert-manager 0.0.1-alpha.102"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@pulumi/kubernetes": "^4.0.0",
|
|
20
|
+
"@pulumi/pulumi": "^3.142.0"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@types/node": "^14",
|
|
24
|
+
"typescript": "^4.3.5"
|
|
25
|
+
},
|
|
26
|
+
"pulumi": {
|
|
27
|
+
"resource": true,
|
|
28
|
+
"name": "kubernetes-cert-manager",
|
|
29
|
+
"version": "0.0.1-alpha.102"
|
|
30
|
+
}
|
|
31
|
+
}
|
package/package.json.dev
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/kubernetes-cert-manager",
|
|
3
|
+
"version": "0.0.1-alpha.102",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pulumi",
|
|
6
|
+
"kubernetes",
|
|
7
|
+
"cert-manager",
|
|
8
|
+
"kind/component",
|
|
9
|
+
"category/infrastructure"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://pulumi.io",
|
|
12
|
+
"repository": "https://github.com/pulumi/pulumi-kubernetes-cert-manager",
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@pulumi/kubernetes": "^4.0.0",
|
|
19
|
+
"@pulumi/pulumi": "^3.142.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@types/node": "^14",
|
|
23
|
+
"typescript": "^4.3.5"
|
|
24
|
+
},
|
|
25
|
+
"pulumi": {
|
|
26
|
+
"resource": true,
|
|
27
|
+
"name": "kubernetes-cert-manager",
|
|
28
|
+
"version": "0.0.1-alpha.102"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/provider.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
3
|
+
/**
|
|
4
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
5
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
6
|
+
*/
|
|
7
|
+
static isInstance(obj: any): obj is Provider;
|
|
8
|
+
/**
|
|
9
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resource.
|
|
12
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
13
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
14
|
+
*/
|
|
15
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The set of arguments for constructing a Provider resource.
|
|
19
|
+
*/
|
|
20
|
+
export interface ProviderArgs {
|
|
21
|
+
}
|
package/provider.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Provider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Provider extends pulumi.ProviderResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj) {
|
|
14
|
+
if (obj === undefined || obj === null) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resource.
|
|
23
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
24
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
25
|
+
*/
|
|
26
|
+
constructor(name, args, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
{
|
|
30
|
+
}
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.Provider = Provider;
|
|
36
|
+
/** @internal */
|
|
37
|
+
Provider.__pulumiType = 'kubernetes-cert-manager';
|
|
38
|
+
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;SACC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA9BL,4BA+BC;AA9BG,gBAAgB;AACO,qBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var childProcess = require("child_process");
|
|
3
|
+
|
|
4
|
+
var args = process.argv.slice(2);
|
|
5
|
+
var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), {
|
|
6
|
+
stdio: ["ignore", "inherit", "inherit"]
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
if (res.error && res.error.code === "ENOENT") {
|
|
10
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
11
|
+
"It looks like `pulumi` is not installed on your system. " +
|
|
12
|
+
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
|
|
13
|
+
"You may try manually installing the plugin by running " +
|
|
14
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
15
|
+
} else if (res.error || res.status !== 0) {
|
|
16
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
17
|
+
"You may try to manually installing the plugin by running " +
|
|
18
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
process.exit(0);
|
package/types/index.d.ts
ADDED
package/types/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const input = require("./input");
|
|
8
|
+
exports.input = input;
|
|
9
|
+
const output = require("./output");
|
|
10
|
+
exports.output = output;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/types/input.d.ts
ADDED
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as pulumiKubernetes from "@pulumi/kubernetes";
|
|
4
|
+
export interface CertManagerCaInjectorArgs {
|
|
5
|
+
affinity?: pulumi.Input<pulumiKubernetes.types.input.core.v1.Affinity>;
|
|
6
|
+
/**
|
|
7
|
+
* Container Security Context to be set on the cainjector component container. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
8
|
+
*/
|
|
9
|
+
containerSecurityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.SecurityContext>;
|
|
10
|
+
/**
|
|
11
|
+
* Optional additional annotations to add to the cainjector Deployment
|
|
12
|
+
*/
|
|
13
|
+
deploymentAnnotations?: pulumi.Input<{
|
|
14
|
+
[key: string]: pulumi.Input<string>;
|
|
15
|
+
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Optional additional arguments for cainjector
|
|
18
|
+
*/
|
|
19
|
+
extraArgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
20
|
+
image?: pulumi.Input<inputs.CertManagerImageArgs>;
|
|
21
|
+
nodeSelector?: pulumi.Input<{
|
|
22
|
+
[key: string]: pulumi.Input<string>;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Optional additional annotations to add to the cainjector Pods
|
|
26
|
+
*/
|
|
27
|
+
podAnnotations?: pulumi.Input<{
|
|
28
|
+
[key: string]: pulumi.Input<string>;
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* Optional additional labels to add to the Webhook Pods
|
|
32
|
+
*/
|
|
33
|
+
podLabels?: pulumi.Input<{
|
|
34
|
+
[key: string]: pulumi.Input<string>;
|
|
35
|
+
}>;
|
|
36
|
+
/**
|
|
37
|
+
* Pod Security Context to be set on the cainjector component Pod. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
38
|
+
*/
|
|
39
|
+
podSecurityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.PodSecurityContext>;
|
|
40
|
+
replicaCount?: pulumi.Input<number>;
|
|
41
|
+
resources?: pulumi.Input<pulumiKubernetes.types.input.core.v1.ResourceRequirements>;
|
|
42
|
+
serviceAccount?: pulumi.Input<inputs.CertManagerServiceAccountArgs>;
|
|
43
|
+
strategy?: pulumi.Input<pulumiKubernetes.types.input.apps.v1.DeploymentStrategy>;
|
|
44
|
+
timeoutSeconds?: pulumi.Input<number>;
|
|
45
|
+
tolerations?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.Toleration>[]>;
|
|
46
|
+
}
|
|
47
|
+
export interface CertManagerGlobalArgs {
|
|
48
|
+
/**
|
|
49
|
+
* Reference to one or more secrets to be used when pulling images. ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
50
|
+
*/
|
|
51
|
+
imagePullSecrets?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.LocalObjectReference>[]>;
|
|
52
|
+
leaderElection?: pulumi.Input<inputs.CertManagerGlobalLeaderElectionArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* Set the verbosity of cert-manager. Range of 0 - 6 with 6 being the most verbose.
|
|
55
|
+
*/
|
|
56
|
+
logLevel?: pulumi.Input<number>;
|
|
57
|
+
podSecurityPolicy?: pulumi.Input<inputs.CertManagerGlobalPodSecurityPolicyArgs>;
|
|
58
|
+
/**
|
|
59
|
+
* Optional priority class to be used for the cert-manager pods.
|
|
60
|
+
*/
|
|
61
|
+
priorityClassName?: pulumi.Input<string>;
|
|
62
|
+
rbac?: pulumi.Input<inputs.CertManagerGlobalRbacArgs>;
|
|
63
|
+
}
|
|
64
|
+
export interface CertManagerGlobalLeaderElectionArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate.
|
|
67
|
+
*/
|
|
68
|
+
leaseDuration?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Override the namespace used to store the ConfigMap for leader election.
|
|
71
|
+
*/
|
|
72
|
+
namespace?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration.
|
|
75
|
+
*/
|
|
76
|
+
renewDeadline?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
78
|
+
export interface CertManagerGlobalPodSecurityPolicyArgs {
|
|
79
|
+
enabled?: pulumi.Input<boolean>;
|
|
80
|
+
useAppArmor?: pulumi.Input<boolean>;
|
|
81
|
+
}
|
|
82
|
+
export interface CertManagerGlobalRbacArgs {
|
|
83
|
+
create?: pulumi.Input<boolean>;
|
|
84
|
+
}
|
|
85
|
+
export interface CertManagerImageArgs {
|
|
86
|
+
/**
|
|
87
|
+
* Setting a digest will override any tag, e.g. `digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20`.
|
|
88
|
+
*/
|
|
89
|
+
digest?: pulumi.Input<string>;
|
|
90
|
+
pullPolicy?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* You can manage a registry with `registry: quay.io`.
|
|
93
|
+
*/
|
|
94
|
+
registry?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* You can manage a registry with `repository: jetstack/cert-manager-controller`.
|
|
97
|
+
*/
|
|
98
|
+
repository?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion will be used.
|
|
101
|
+
*/
|
|
102
|
+
tag?: pulumi.Input<string>;
|
|
103
|
+
}
|
|
104
|
+
export interface CertManagerIngressShimArgs {
|
|
105
|
+
defaultIssuerGroup?: pulumi.Input<string>;
|
|
106
|
+
defaultIssuerKind?: pulumi.Input<string>;
|
|
107
|
+
defaultIssuerName?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
109
|
+
export interface CertManagerPrometheusArgs {
|
|
110
|
+
enabled?: pulumi.Input<boolean>;
|
|
111
|
+
serviceMonitor?: pulumi.Input<inputs.CertManagerPrometheusServiceMonitorArgs>;
|
|
112
|
+
}
|
|
113
|
+
export interface CertManagerPrometheusServiceMonitorArgs {
|
|
114
|
+
enabled?: pulumi.Input<boolean>;
|
|
115
|
+
interval?: pulumi.Input<string>;
|
|
116
|
+
labels?: pulumi.Input<{
|
|
117
|
+
[key: string]: pulumi.Input<string>;
|
|
118
|
+
}>;
|
|
119
|
+
path?: pulumi.Input<string>;
|
|
120
|
+
prometheusInstance?: pulumi.Input<string>;
|
|
121
|
+
string?: pulumi.Input<string>;
|
|
122
|
+
targetPort?: pulumi.Input<number>;
|
|
123
|
+
}
|
|
124
|
+
export interface CertManagerServiceAccountArgs {
|
|
125
|
+
/**
|
|
126
|
+
* Optional additional annotations to add to the controller's ServiceAccount.
|
|
127
|
+
*/
|
|
128
|
+
annotations?: pulumi.Input<{
|
|
129
|
+
[key: string]: pulumi.Input<string>;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* Automount API credentials for a Service Account.
|
|
133
|
+
*/
|
|
134
|
+
automountServiceAccountToken?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies whether a service account should be created
|
|
137
|
+
*/
|
|
138
|
+
create?: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
|
|
141
|
+
*/
|
|
142
|
+
name?: pulumi.Input<string>;
|
|
143
|
+
}
|
|
144
|
+
export interface CertManagerStartupAPICheckArgs {
|
|
145
|
+
affinity?: pulumi.Input<pulumiKubernetes.types.input.core.v1.Affinity>;
|
|
146
|
+
/**
|
|
147
|
+
* Job backoffLimit
|
|
148
|
+
*/
|
|
149
|
+
backoffLimit?: pulumi.Input<number>;
|
|
150
|
+
enabled?: pulumi.Input<boolean>;
|
|
151
|
+
/**
|
|
152
|
+
* Optional additional arguments for startupapicheck
|
|
153
|
+
*/
|
|
154
|
+
extraArgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
155
|
+
image?: pulumi.Input<inputs.CertManagerImageArgs>;
|
|
156
|
+
/**
|
|
157
|
+
* Optional additional annotations to add to the startupapicheck Job
|
|
158
|
+
*/
|
|
159
|
+
jobAnnotations?: pulumi.Input<{
|
|
160
|
+
[key: string]: pulumi.Input<string>;
|
|
161
|
+
}>;
|
|
162
|
+
nodeSelector?: pulumi.Input<{
|
|
163
|
+
[key: string]: pulumi.Input<string>;
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* Optional additional annotations to add to the startupapicheck Pods
|
|
167
|
+
*/
|
|
168
|
+
podAnnotations?: pulumi.Input<{
|
|
169
|
+
[key: string]: pulumi.Input<string>;
|
|
170
|
+
}>;
|
|
171
|
+
/**
|
|
172
|
+
* Optional additional labels to add to the startupapicheck Pods
|
|
173
|
+
*/
|
|
174
|
+
podLabels?: pulumi.Input<{
|
|
175
|
+
[key: string]: pulumi.Input<string>;
|
|
176
|
+
}>;
|
|
177
|
+
rbac?: pulumi.Input<inputs.CertManagerStartupAPICheckRBACArgs>;
|
|
178
|
+
resources?: pulumi.Input<pulumiKubernetes.types.input.core.v1.ResourceRequirements>;
|
|
179
|
+
/**
|
|
180
|
+
* Pod Security Context to be set on the startupapicheck component Pod. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
181
|
+
*/
|
|
182
|
+
securityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.PodSecurityContext>;
|
|
183
|
+
serviceAccount?: pulumi.Input<inputs.CertManagerServiceAccountArgs>;
|
|
184
|
+
/**
|
|
185
|
+
* Timeout for 'kubectl check api' command
|
|
186
|
+
*/
|
|
187
|
+
timeout?: pulumi.Input<string>;
|
|
188
|
+
tolerations?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.Toleration>[]>;
|
|
189
|
+
}
|
|
190
|
+
export interface CertManagerStartupAPICheckRBACArgs {
|
|
191
|
+
/**
|
|
192
|
+
* annotations for the startup API Check job RBAC and PSP resources
|
|
193
|
+
*/
|
|
194
|
+
annotations?: pulumi.Input<{
|
|
195
|
+
[key: string]: pulumi.Input<string>;
|
|
196
|
+
}>;
|
|
197
|
+
}
|
|
198
|
+
export interface CertManagerWebhookArgs {
|
|
199
|
+
affinity?: pulumi.Input<pulumiKubernetes.types.input.core.v1.Affinity>;
|
|
200
|
+
/**
|
|
201
|
+
* Container Security Context to be set on the webhook component container. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
202
|
+
*/
|
|
203
|
+
containerSecurityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.SecurityContext>;
|
|
204
|
+
/**
|
|
205
|
+
* Optional additional annotations to add to the webhook Deployment
|
|
206
|
+
*/
|
|
207
|
+
deploymentAnnotations?: pulumi.Input<{
|
|
208
|
+
[key: string]: pulumi.Input<string>;
|
|
209
|
+
}>;
|
|
210
|
+
/**
|
|
211
|
+
* Optional additional arguments for webhook
|
|
212
|
+
*/
|
|
213
|
+
extraArgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
214
|
+
/**
|
|
215
|
+
* Specifies if the webhook should be started in hostNetwork mode. Required for use in some managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico), because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working Since the default port for the webhook conflicts with kubelet on the host network, `webhook.securePort` should be changed to an available port if running in hostNetwork mode.
|
|
216
|
+
*/
|
|
217
|
+
hostNetwork?: pulumi.Input<boolean>;
|
|
218
|
+
image?: pulumi.Input<inputs.CertManagerImageArgs>;
|
|
219
|
+
/**
|
|
220
|
+
* Liveness probe values. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
|
221
|
+
*/
|
|
222
|
+
livenessProbe?: pulumi.Input<pulumiKubernetes.types.input.core.v1.Probe>;
|
|
223
|
+
loadBalancerIP?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Optional additional annotations to add to the webhook MutatingWebhookConfiguration
|
|
226
|
+
*/
|
|
227
|
+
mutatingWebhookConfigurationAnnotations?: pulumi.Input<{
|
|
228
|
+
[key: string]: pulumi.Input<string>;
|
|
229
|
+
}>;
|
|
230
|
+
nodeSelector?: pulumi.Input<{
|
|
231
|
+
[key: string]: pulumi.Input<string>;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* Optional additional annotations to add to the webhook Pods
|
|
235
|
+
*/
|
|
236
|
+
podAnnotations?: pulumi.Input<{
|
|
237
|
+
[key: string]: pulumi.Input<string>;
|
|
238
|
+
}>;
|
|
239
|
+
/**
|
|
240
|
+
* Optional additional labels to add to the Webhook Pods
|
|
241
|
+
*/
|
|
242
|
+
podLabels?: pulumi.Input<{
|
|
243
|
+
[key: string]: pulumi.Input<string>;
|
|
244
|
+
}>;
|
|
245
|
+
/**
|
|
246
|
+
* Readiness probe values. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
|
247
|
+
*/
|
|
248
|
+
readinessProbe?: pulumi.Input<pulumiKubernetes.types.input.core.v1.Probe>;
|
|
249
|
+
replicaCount?: pulumi.Input<number>;
|
|
250
|
+
resources?: pulumi.Input<pulumiKubernetes.types.input.core.v1.ResourceRequirements>;
|
|
251
|
+
/**
|
|
252
|
+
* The port that the webhook should listen on for requests. In GKE private clusters, by default kubernetes apiservers are allowed to talk to the cluster nodes only on 443 and 10250. so configuring securePort: 10250, will work out of the box without needing to add firewall rules or requiring NET_BIND_SERVICE capabilities to bind port numbers <1000
|
|
253
|
+
*/
|
|
254
|
+
securePort?: pulumi.Input<number>;
|
|
255
|
+
/**
|
|
256
|
+
* Pod Security Context to be set on the webhook component Pod. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
257
|
+
*/
|
|
258
|
+
securityContext?: pulumi.Input<pulumiKubernetes.types.input.core.v1.PodSecurityContext>;
|
|
259
|
+
serviceAccount?: pulumi.Input<inputs.CertManagerServiceAccountArgs>;
|
|
260
|
+
/**
|
|
261
|
+
* Optional additional annotations to add to the webhook service
|
|
262
|
+
*/
|
|
263
|
+
serviceAnnotations?: pulumi.Input<{
|
|
264
|
+
[key: string]: pulumi.Input<string>;
|
|
265
|
+
}>;
|
|
266
|
+
/**
|
|
267
|
+
* Optional additional labels to add to the Webhook Service
|
|
268
|
+
*/
|
|
269
|
+
serviceLabels?: pulumi.Input<{
|
|
270
|
+
[key: string]: pulumi.Input<string>;
|
|
271
|
+
}>;
|
|
272
|
+
/**
|
|
273
|
+
* Specifies how the service should be handled. Useful if you want to expose the webhook to outside of the cluster. In some cases, the control plane cannot reach internal services.
|
|
274
|
+
*/
|
|
275
|
+
serviceType?: pulumi.Input<string>;
|
|
276
|
+
strategy?: pulumi.Input<pulumiKubernetes.types.input.apps.v1.DeploymentStrategy>;
|
|
277
|
+
timeoutSeconds?: pulumi.Input<number>;
|
|
278
|
+
tolerations?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.Toleration>[]>;
|
|
279
|
+
/**
|
|
280
|
+
* Overrides the mutating webhook and validating webhook so they reach the webhook service using the `url` field instead of a service.
|
|
281
|
+
*/
|
|
282
|
+
url?: pulumi.Input<inputs.CertManagerWebhookURLArgs>;
|
|
283
|
+
/**
|
|
284
|
+
* Optional additional annotations to add to the webhook ValidatingWebhookConfiguration
|
|
285
|
+
*/
|
|
286
|
+
validatingWebhookConfigurationAnnotations?: pulumi.Input<{
|
|
287
|
+
[key: string]: pulumi.Input<string>;
|
|
288
|
+
}>;
|
|
289
|
+
}
|
|
290
|
+
export interface CertManagerWebhookURLArgs {
|
|
291
|
+
host?: pulumi.Input<string>;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* A Release is an instance of a chart running in a Kubernetes cluster.
|
|
295
|
+
* A Chart is a Helm package. It contains all of the resource definitions necessary to run an application, tool, or service inside of a Kubernetes cluster.
|
|
296
|
+
* Note - Helm Release is currently in BETA and may change. Use in production environment is discouraged.
|
|
297
|
+
*/
|
|
298
|
+
export interface ReleaseArgs {
|
|
299
|
+
/**
|
|
300
|
+
* If set, installation process purges chart on fail. `skipAwait` will be disabled automatically if atomic is used.
|
|
301
|
+
*/
|
|
302
|
+
atomic?: pulumi.Input<boolean>;
|
|
303
|
+
/**
|
|
304
|
+
* Chart name to be installed. A path may be used.
|
|
305
|
+
*/
|
|
306
|
+
chart?: pulumi.Input<string>;
|
|
307
|
+
/**
|
|
308
|
+
* Allow deletion of new resources created in this upgrade when upgrade fails.
|
|
309
|
+
*/
|
|
310
|
+
cleanupOnFail?: pulumi.Input<boolean>;
|
|
311
|
+
/**
|
|
312
|
+
* Create the namespace if it does not exist.
|
|
313
|
+
*/
|
|
314
|
+
createNamespace?: pulumi.Input<boolean>;
|
|
315
|
+
/**
|
|
316
|
+
* Run helm dependency update before installing the chart.
|
|
317
|
+
*/
|
|
318
|
+
dependencyUpdate?: pulumi.Input<boolean>;
|
|
319
|
+
/**
|
|
320
|
+
* Add a custom description
|
|
321
|
+
*/
|
|
322
|
+
description?: pulumi.Input<string>;
|
|
323
|
+
/**
|
|
324
|
+
* Use chart development versions, too. Equivalent to version '>0.0.0-0'. If `version` is set, this is ignored.
|
|
325
|
+
*/
|
|
326
|
+
devel?: pulumi.Input<boolean>;
|
|
327
|
+
/**
|
|
328
|
+
* Prevent CRD hooks from, running, but run other hooks. See helm install --no-crd-hook
|
|
329
|
+
*/
|
|
330
|
+
disableCRDHooks?: pulumi.Input<boolean>;
|
|
331
|
+
/**
|
|
332
|
+
* If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema
|
|
333
|
+
*/
|
|
334
|
+
disableOpenapiValidation?: pulumi.Input<boolean>;
|
|
335
|
+
/**
|
|
336
|
+
* Prevent hooks from running.
|
|
337
|
+
*/
|
|
338
|
+
disableWebhooks?: pulumi.Input<boolean>;
|
|
339
|
+
/**
|
|
340
|
+
* Force resource update through delete/recreate if needed.
|
|
341
|
+
*/
|
|
342
|
+
forceUpdate?: pulumi.Input<boolean>;
|
|
343
|
+
/**
|
|
344
|
+
* Location of public keys used for verification. Used only if `verify` is true
|
|
345
|
+
*/
|
|
346
|
+
keyring?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* Run helm lint when planning.
|
|
349
|
+
*/
|
|
350
|
+
lint?: pulumi.Input<boolean>;
|
|
351
|
+
/**
|
|
352
|
+
* The rendered manifests as JSON. Not yet supported.
|
|
353
|
+
*/
|
|
354
|
+
manifest?: pulumi.Input<{
|
|
355
|
+
[key: string]: any;
|
|
356
|
+
}>;
|
|
357
|
+
/**
|
|
358
|
+
* Limit the maximum number of revisions saved per release. Use 0 for no limit.
|
|
359
|
+
*/
|
|
360
|
+
maxHistory?: pulumi.Input<number>;
|
|
361
|
+
/**
|
|
362
|
+
* Release name.
|
|
363
|
+
*/
|
|
364
|
+
name?: pulumi.Input<string>;
|
|
365
|
+
/**
|
|
366
|
+
* Namespace to install the release into.
|
|
367
|
+
*/
|
|
368
|
+
namespace?: pulumi.Input<string>;
|
|
369
|
+
/**
|
|
370
|
+
* Postrender command to run.
|
|
371
|
+
*/
|
|
372
|
+
postrender?: pulumi.Input<string>;
|
|
373
|
+
/**
|
|
374
|
+
* Perform pods restart during upgrade/rollback.
|
|
375
|
+
*/
|
|
376
|
+
recreatePods?: pulumi.Input<boolean>;
|
|
377
|
+
/**
|
|
378
|
+
* If set, render subchart notes along with the parent.
|
|
379
|
+
*/
|
|
380
|
+
renderSubchartNotes?: pulumi.Input<boolean>;
|
|
381
|
+
/**
|
|
382
|
+
* Re-use the given name, even if that name is already used. This is unsafe in production
|
|
383
|
+
*/
|
|
384
|
+
replace?: pulumi.Input<boolean>;
|
|
385
|
+
/**
|
|
386
|
+
* Specification defining the Helm chart repository to use.
|
|
387
|
+
*/
|
|
388
|
+
repositoryOpts?: pulumi.Input<inputs.RepositoryOptsArgs>;
|
|
389
|
+
/**
|
|
390
|
+
* When upgrading, reset the values to the ones built into the chart.
|
|
391
|
+
*/
|
|
392
|
+
resetValues?: pulumi.Input<boolean>;
|
|
393
|
+
/**
|
|
394
|
+
* Names of resources created by the release grouped by "kind/version".
|
|
395
|
+
*/
|
|
396
|
+
resourceNames?: pulumi.Input<{
|
|
397
|
+
[key: string]: pulumi.Input<pulumi.Input<string>[]>;
|
|
398
|
+
}>;
|
|
399
|
+
/**
|
|
400
|
+
* When upgrading, reuse the last release's values and merge in any overrides. If 'resetValues' is specified, this is ignored
|
|
401
|
+
*/
|
|
402
|
+
reuseValues?: pulumi.Input<boolean>;
|
|
403
|
+
/**
|
|
404
|
+
* By default, the provider waits until all resources are in a ready state before marking the release as successful. Setting this to true will skip such await logic.
|
|
405
|
+
*/
|
|
406
|
+
skipAwait?: pulumi.Input<boolean>;
|
|
407
|
+
/**
|
|
408
|
+
* If set, no CRDs will be installed. By default, CRDs are installed if not already present.
|
|
409
|
+
*/
|
|
410
|
+
skipCrds?: pulumi.Input<boolean>;
|
|
411
|
+
/**
|
|
412
|
+
* Time in seconds to wait for any individual kubernetes operation.
|
|
413
|
+
*/
|
|
414
|
+
timeout?: pulumi.Input<number>;
|
|
415
|
+
/**
|
|
416
|
+
* List of assets (raw yaml files). Content is read and merged with values. Not yet supported.
|
|
417
|
+
*/
|
|
418
|
+
valueYamlFiles?: pulumi.Input<pulumi.Input<pulumi.asset.Asset | pulumi.asset.Archive>[]>;
|
|
419
|
+
/**
|
|
420
|
+
* Custom values set for the release.
|
|
421
|
+
*/
|
|
422
|
+
values?: pulumi.Input<{
|
|
423
|
+
[key: string]: any;
|
|
424
|
+
}>;
|
|
425
|
+
/**
|
|
426
|
+
* Verify the package before installing it.
|
|
427
|
+
*/
|
|
428
|
+
verify?: pulumi.Input<boolean>;
|
|
429
|
+
/**
|
|
430
|
+
* Specify the exact chart version to install. If this is not specified, the latest version is installed.
|
|
431
|
+
*/
|
|
432
|
+
version?: pulumi.Input<string>;
|
|
433
|
+
/**
|
|
434
|
+
* Will wait until all Jobs have been completed before marking the release as successful. This is ignored if `skipAwait` is enabled.
|
|
435
|
+
*/
|
|
436
|
+
waitForJobs?: pulumi.Input<boolean>;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Specification defining the Helm chart repository to use.
|
|
440
|
+
*/
|
|
441
|
+
export interface RepositoryOptsArgs {
|
|
442
|
+
/**
|
|
443
|
+
* The Repository's CA File
|
|
444
|
+
*/
|
|
445
|
+
caFile?: pulumi.Input<string>;
|
|
446
|
+
/**
|
|
447
|
+
* The repository's cert file
|
|
448
|
+
*/
|
|
449
|
+
certFile?: pulumi.Input<string>;
|
|
450
|
+
/**
|
|
451
|
+
* The repository's cert key file
|
|
452
|
+
*/
|
|
453
|
+
keyFile?: pulumi.Input<string>;
|
|
454
|
+
/**
|
|
455
|
+
* Password for HTTP basic authentication
|
|
456
|
+
*/
|
|
457
|
+
password?: pulumi.Input<string>;
|
|
458
|
+
/**
|
|
459
|
+
* Repository where to locate the requested chart. If is a URL the chart is installed without installing the repository.
|
|
460
|
+
*/
|
|
461
|
+
repo?: pulumi.Input<string>;
|
|
462
|
+
/**
|
|
463
|
+
* Username for HTTP basic authentication
|
|
464
|
+
*/
|
|
465
|
+
username?: pulumi.Input<string>;
|
|
466
|
+
}
|
package/types/input.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface ReleaseStatus {
|
|
2
|
+
/**
|
|
3
|
+
* The version number of the application being deployed.
|
|
4
|
+
*/
|
|
5
|
+
appVersion: string;
|
|
6
|
+
/**
|
|
7
|
+
* The name of the chart.
|
|
8
|
+
*/
|
|
9
|
+
chart: string;
|
|
10
|
+
/**
|
|
11
|
+
* Name is the name of the release.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Namespace is the kubernetes namespace of the release.
|
|
16
|
+
*/
|
|
17
|
+
namespace: string;
|
|
18
|
+
/**
|
|
19
|
+
* Version is an int32 which represents the version of the release.
|
|
20
|
+
*/
|
|
21
|
+
revision: number;
|
|
22
|
+
/**
|
|
23
|
+
* Status of the release.
|
|
24
|
+
*/
|
|
25
|
+
status: string;
|
|
26
|
+
/**
|
|
27
|
+
* A SemVer 2 conformant version string of the chart.
|
|
28
|
+
*/
|
|
29
|
+
version: string;
|
|
30
|
+
}
|
package/types/output.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
package/utilities.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
|
+
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
|
+
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
|
+
export declare function getVersion(): string;
|
|
6
|
+
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
+
property?: string;
|
|
8
|
+
}): Promise<T>;
|
package/utilities.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
16
|
+
function getEnv(...vars) {
|
|
17
|
+
for (const v of vars) {
|
|
18
|
+
const value = process.env[v];
|
|
19
|
+
if (value) {
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
exports.getEnv = getEnv;
|
|
26
|
+
function getEnvBoolean(...vars) {
|
|
27
|
+
const s = getEnv(...vars);
|
|
28
|
+
if (s !== undefined) {
|
|
29
|
+
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
30
|
+
// Terraform uses internally when parsing boolean values.
|
|
31
|
+
if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
exports.getEnvBoolean = getEnvBoolean;
|
|
41
|
+
function getEnvNumber(...vars) {
|
|
42
|
+
const s = getEnv(...vars);
|
|
43
|
+
if (s !== undefined) {
|
|
44
|
+
const f = parseFloat(s);
|
|
45
|
+
if (!isNaN(f)) {
|
|
46
|
+
return f;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
exports.getEnvNumber = getEnvNumber;
|
|
52
|
+
function getVersion() {
|
|
53
|
+
let version = require('./package.json').version;
|
|
54
|
+
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
|
55
|
+
// If there is a v, strip it off.
|
|
56
|
+
if (version.indexOf('v') === 0) {
|
|
57
|
+
version = version.slice(1);
|
|
58
|
+
}
|
|
59
|
+
return version;
|
|
60
|
+
}
|
|
61
|
+
exports.getVersion = getVersion;
|
|
62
|
+
/** @internal */
|
|
63
|
+
function resourceOptsDefaults() {
|
|
64
|
+
return { version: getVersion() };
|
|
65
|
+
}
|
|
66
|
+
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
67
|
+
/** @internal */
|
|
68
|
+
function lazyLoad(exports, props, loadModule) {
|
|
69
|
+
for (let property of props) {
|
|
70
|
+
Object.defineProperty(exports, property, {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () {
|
|
73
|
+
return loadModule()[property];
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.lazyLoad = lazyLoad;
|
|
79
|
+
function callAsync(tok, props, res, opts) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const o = runtime.call(tok, props, res);
|
|
82
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
83
|
+
const isKnown = yield o.isKnown;
|
|
84
|
+
const isSecret = yield o.isSecret;
|
|
85
|
+
const problem = !isKnown ? "an unknown value"
|
|
86
|
+
: isSecret ? "a secret value"
|
|
87
|
+
: undefined;
|
|
88
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
89
|
+
if (problem) {
|
|
90
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
91
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
92
|
+
}
|
|
93
|
+
// Extract a single property if requested.
|
|
94
|
+
if (opts && opts.property) {
|
|
95
|
+
return value[opts.property];
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.callAsync = callAsync;
|
|
101
|
+
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,O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