@pulumi/eks 2.9.0-alpha.1727304793 → 2.9.0-alpha.1729102234
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 +77 -0
- package/addon.d.ts +13 -61
- package/addon.js +18 -45
- package/addon.js.map +1 -1
- package/authenticationMode.d.ts +24 -0
- package/authenticationMode.js +172 -0
- package/authenticationMode.js.map +1 -0
- package/authenticationMode.test.d.ts +1 -0
- package/authenticationMode.test.js +208 -0
- package/authenticationMode.test.js.map +1 -0
- package/cert-thumprint.d.ts +16 -0
- package/cert-thumprint.js +113 -0
- package/cert-thumprint.js.map +1 -0
- package/cluster.d.ts +585 -291
- package/cluster.js +947 -120
- package/cluster.js.map +1 -1
- package/cmd/provider/addon.d.ts +1 -0
- package/cmd/provider/addon.js +40 -0
- package/cmd/provider/addon.js.map +1 -0
- package/cmd/provider/cluster.d.ts +1 -0
- package/cmd/provider/cluster.js +71 -0
- package/cmd/provider/cluster.js.map +1 -0
- package/cmd/provider/cni.d.ts +2 -0
- package/cmd/provider/cni.js +291 -0
- package/cmd/provider/cni.js.map +1 -0
- package/cmd/provider/index.d.ts +1 -0
- package/cmd/provider/index.js +171 -0
- package/cmd/provider/index.js.map +1 -0
- package/cmd/provider/nodegroup.d.ts +1 -0
- package/cmd/provider/nodegroup.js +89 -0
- package/cmd/provider/nodegroup.js.map +1 -0
- package/cmd/provider/randomSuffix.d.ts +1 -0
- package/cmd/provider/randomSuffix.js +52 -0
- package/cmd/provider/randomSuffix.js.map +1 -0
- package/cmd/provider/schema.json +1909 -0
- package/cmd/provider/securitygroup.d.ts +1 -0
- package/cmd/provider/securitygroup.js +41 -0
- package/cmd/provider/securitygroup.js.map +1 -0
- package/cni/README.md +6 -0
- package/cni/aws-k8s-cni.yaml +602 -0
- package/cni.d.ts +177 -0
- package/cni.js +64 -0
- package/cni.js.map +1 -0
- package/dashboard/heapster-rbac.yaml +12 -0
- package/dashboard/heapster.yaml +46 -0
- package/dashboard/influxdb.yaml +40 -0
- package/dashboard/kubernetes-dashboard.yaml +167 -0
- package/dashboard.d.ts +5 -0
- package/dashboard.js +58 -0
- package/dashboard.js.map +1 -0
- package/dependencies.d.ts +2 -0
- package/dependencies.js +81 -0
- package/dependencies.js.map +1 -0
- package/dependencies.test.d.ts +1 -0
- package/dependencies.test.js +133 -0
- package/dependencies.test.js.map +1 -0
- package/index.d.ts +7 -31
- package/index.js +34 -80
- package/index.js.map +1 -1
- package/nodegroup.d.ts +515 -0
- package/nodegroup.js +1152 -0
- package/nodegroup.js.map +1 -0
- package/nodegroup.test.d.ts +1 -0
- package/nodegroup.test.js +336 -0
- package/nodegroup.test.js.map +1 -0
- package/package.json +36 -8
- package/package.json.dev +67 -0
- package/randomSuffix.d.ts +1 -0
- package/randomSuffix.js +51 -0
- package/randomSuffix.js.map +1 -0
- package/securitygroup.d.ts +52 -0
- package/{nodegroupMixins.js → securitygroup.js} +36 -25
- package/securitygroup.js.map +1 -0
- package/servicerole.d.ts +43 -0
- package/servicerole.js +72 -0
- package/servicerole.js.map +1 -0
- package/{storageclassMixins.js → storageclass.js} +14 -1
- package/storageclass.js.map +1 -0
- package/utilities.d.ts +1 -8
- package/utilities.js +17 -90
- package/utilities.js.map +1 -1
- package/utils.d.ts +23 -0
- package/utils.js +16 -0
- package/utils.js.map +1 -0
- package/clusterCreationRoleProvider.d.ts +0 -28
- package/clusterCreationRoleProvider.js +0 -47
- package/clusterCreationRoleProvider.js.map +0 -1
- package/clusterMixins.d.ts +0 -71
- package/clusterMixins.js +0 -107
- package/clusterMixins.js.map +0 -1
- package/managedNodeGroup.d.ts +0 -221
- package/managedNodeGroup.js +0 -81
- package/managedNodeGroup.js.map +0 -1
- package/nodeGroup.d.ts +0 -273
- package/nodeGroup.js +0 -93
- package/nodeGroup.js.map +0 -1
- package/nodeGroupSecurityGroup.d.ts +0 -51
- package/nodeGroupSecurityGroup.js +0 -60
- package/nodeGroupSecurityGroup.js.map +0 -1
- package/nodeGroupV2.d.ts +0 -280
- package/nodeGroupV2.js +0 -90
- package/nodeGroupV2.js.map +0 -1
- package/nodegroupMixins.d.ts +0 -203
- package/nodegroupMixins.js.map +0 -1
- package/provider.d.ts +0 -21
- package/provider.js +0 -38
- package/provider.js.map +0 -1
- package/storageclassMixins.js.map +0 -1
- package/types/enums/index.d.ts +0 -170
- package/types/enums/index.js +0 -145
- package/types/enums/index.js.map +0 -1
- package/types/index.d.ts +0 -4
- package/types/index.js +0 -13
- package/types/index.js.map +0 -1
- package/types/input.d.ts +0 -745
- package/types/input.js +0 -30
- package/types/input.js.map +0 -1
- package/types/output.d.ts +0 -422
- package/types/output.js +0 -5
- package/types/output.js.map +0 -1
- package/vpcCniAddon.d.ts +0 -175
- package/vpcCniAddon.js +0 -88
- package/vpcCniAddon.js.map +0 -1
- /package/{storageclassMixins.d.ts → storageclass.d.ts} +0 -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,77 @@
|
|
|
1
|
+
[](https://github.com/pulumi/pulumi-eks/actions/workflows/master.yml)
|
|
2
|
+
[](https://slack.pulumi.com)
|
|
3
|
+
[](https://badge.fury.io/js/@pulumi%2Feks)
|
|
4
|
+
[](https://pypi.org/project/pulumi-eks)
|
|
5
|
+
[](https://badge.fury.io/nu/pulumi.eks)
|
|
6
|
+
[](https://pkg.go.dev/github.com/pulumi/pulumi-eks/sdk/go/eks)
|
|
7
|
+
|
|
8
|
+
# Pulumi Amazon Web Services (AWS) EKS Components
|
|
9
|
+
|
|
10
|
+
The Pulumi EKS library provides a Pulumi component that creates and manages the resources necessary to run an EKS Kubernetes cluster in AWS. This component exposes the Crosswalk for AWS functionality documented in the [Pulumi Elastic Kubernetes Service guide](https://www.pulumi.com/docs/guides/crosswalk/aws/eks/) as a package available in all Pulumi languages.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
This includes:
|
|
14
|
+
- The EKS cluster control plane.
|
|
15
|
+
- The cluster's worker nodes configured as node groups, which are managed by an auto scaling group.
|
|
16
|
+
- The AWS CNI Plugin [`aws-k8s-cni`](https://github.com/aws/amazon-vpc-cni-k8s/) to manage pod networking in Kubernetes.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<div>
|
|
20
|
+
<a href="https://www.pulumi.com/templates/kubernetes/aws/" title="Get Started">
|
|
21
|
+
<img src="https://www.pulumi.com/images/get-started.svg?" width="120">
|
|
22
|
+
</a>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
## Installing
|
|
26
|
+
|
|
27
|
+
This package is available in many languages in the standard packaging formats.
|
|
28
|
+
|
|
29
|
+
### Node.js (JavaScript/TypeScript)
|
|
30
|
+
|
|
31
|
+
To use from JavaScript or TypeScript in Node.js, install it using either `npm`:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
$ npm install @pulumi/eks
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
or `yarn`:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
$ yarn add @pulumi/eks
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Python
|
|
44
|
+
|
|
45
|
+
To use from Python, install using `pip`:
|
|
46
|
+
|
|
47
|
+
$ pip install pulumi_eks
|
|
48
|
+
|
|
49
|
+
### Go
|
|
50
|
+
|
|
51
|
+
To use from Go, use `go get` to grab the latest version of the library
|
|
52
|
+
|
|
53
|
+
$ go get github.com/pulumi/pulumi-eks/sdk/go
|
|
54
|
+
|
|
55
|
+
### .NET
|
|
56
|
+
|
|
57
|
+
To use from .NET, install using `dotnet add package`:
|
|
58
|
+
|
|
59
|
+
$ dotnet add package Pulumi.Eks
|
|
60
|
+
|
|
61
|
+
## References
|
|
62
|
+
|
|
63
|
+
* [Tutorial](https://www.pulumi.com/blog/easily-create-and-manage-aws-eks-kubernetes-clusters-with-pulumi/)
|
|
64
|
+
* [Reference Documentation](https://www.pulumi.com/registry/packages/eks/api-docs/)
|
|
65
|
+
* [Examples](./examples)
|
|
66
|
+
* [Crosswalk for AWS - EKS Guide](https://www.pulumi.com/docs/guides/crosswalk/aws/eks/)
|
|
67
|
+
|
|
68
|
+
## Contributing
|
|
69
|
+
|
|
70
|
+
If you are interested in contributing, please see the [contributing docs][contributing].
|
|
71
|
+
|
|
72
|
+
## Code of Conduct
|
|
73
|
+
|
|
74
|
+
Please follow the [code of conduct][code-of-conduct].
|
|
75
|
+
|
|
76
|
+
[contributing]: CONTRIBUTING.md
|
|
77
|
+
[code-of-conduct]: CODE-OF-CONDUCT.md
|
package/addon.d.ts
CHANGED
|
@@ -1,68 +1,20 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as aws from "@pulumi/aws";
|
|
3
|
+
import { Cluster } from "./cluster";
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
5
|
+
* AddonOptions describes the configuration options available for the Amazon VPC CNI plugin for Kubernetes. This is obtained from
|
|
6
|
+
* upstream `aws.eks.AddonArgs` and removes the deprecated `resolveConflicts` field. `clusterName` is also removed as we enable users to
|
|
7
|
+
* pass in the cluster object directly.
|
|
6
8
|
*/
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
11
|
-
*/
|
|
12
|
-
static isInstance(obj: any): obj is Addon;
|
|
13
|
-
/**
|
|
14
|
-
* Create a Addon resource with the given unique name, arguments, and options.
|
|
15
|
-
*
|
|
16
|
-
* @param name The _unique_ name of the resource.
|
|
17
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
18
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
19
|
-
*/
|
|
20
|
-
constructor(name: string, args: AddonArgs, opts?: pulumi.ComponentResourceOptions);
|
|
9
|
+
export interface AddonOptions extends Omit<aws.eks.AddonArgs, "resolveConflicts" | "clusterName" | "configurationValues"> {
|
|
10
|
+
cluster: Cluster;
|
|
11
|
+
configurationValues?: object;
|
|
21
12
|
}
|
|
22
13
|
/**
|
|
23
|
-
*
|
|
14
|
+
* Addon manages an EKS add-on.
|
|
15
|
+
* For more information about supported add-ons, see: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
24
16
|
*/
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*/
|
|
29
|
-
addonName: pulumi.Input<string>;
|
|
30
|
-
/**
|
|
31
|
-
* The version of the EKS add-on. The version must match one of the versions returned by describe-addon-versions.
|
|
32
|
-
*/
|
|
33
|
-
addonVersion?: pulumi.Input<string>;
|
|
34
|
-
/**
|
|
35
|
-
* The target EKS cluster.
|
|
36
|
-
*/
|
|
37
|
-
cluster: pulumi.Input<Cluster>;
|
|
38
|
-
/**
|
|
39
|
-
* Custom configuration values for addons specified as an object. This object value must match the JSON schema derived from describe-addon-configuration.
|
|
40
|
-
*/
|
|
41
|
-
configurationValues?: pulumi.Input<{
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* Indicates if you want to preserve the created resources when deleting the EKS add-on.
|
|
46
|
-
*/
|
|
47
|
-
preserve?: pulumi.Input<boolean>;
|
|
48
|
-
/**
|
|
49
|
-
* How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are NONE and OVERWRITE. For more details see the CreateAddon API Docs.
|
|
50
|
-
*/
|
|
51
|
-
resolveConflictsOnCreate?: pulumi.Input<string>;
|
|
52
|
-
/**
|
|
53
|
-
* How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are NONE, OVERWRITE, and PRESERVE. For more details see the UpdateAddon API Docs.
|
|
54
|
-
*/
|
|
55
|
-
resolveConflictsOnUpdate?: pulumi.Input<string>;
|
|
56
|
-
/**
|
|
57
|
-
* The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
|
|
58
|
-
*
|
|
59
|
-
* Note: To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
|
|
60
|
-
*/
|
|
61
|
-
serviceAccountRoleArn?: pulumi.Input<string>;
|
|
62
|
-
/**
|
|
63
|
-
* Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
64
|
-
*/
|
|
65
|
-
tags?: pulumi.Input<pulumi.Input<{
|
|
66
|
-
[key: string]: pulumi.Input<string>;
|
|
67
|
-
}>[]>;
|
|
17
|
+
export declare class Addon extends pulumi.ComponentResource {
|
|
18
|
+
readonly addon: pulumi.Input<aws.eks.Addon>;
|
|
19
|
+
constructor(name: string, args: AddonOptions, opts?: pulumi.CustomResourceOptions);
|
|
68
20
|
}
|
package/addon.js
CHANGED
|
@@ -1,59 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
3
|
-
//
|
|
2
|
+
// Copyright 2016-2024, Pulumi Corporation.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
4
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
16
|
exports.Addon = void 0;
|
|
6
17
|
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const
|
|
18
|
+
const aws = require("@pulumi/aws");
|
|
8
19
|
/**
|
|
9
20
|
* Addon manages an EKS add-on.
|
|
10
21
|
* For more information about supported add-ons, see: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
11
22
|
*/
|
|
12
23
|
class Addon extends pulumi.ComponentResource {
|
|
13
|
-
/**
|
|
14
|
-
* Returns true if the given object is an instance of Addon. This is designed to work even
|
|
15
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
-
*/
|
|
17
|
-
static isInstance(obj) {
|
|
18
|
-
if (obj === undefined || obj === null) {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
return obj['__pulumiType'] === Addon.__pulumiType;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Create a Addon resource with the given unique name, arguments, and options.
|
|
25
|
-
*
|
|
26
|
-
* @param name The _unique_ name of the resource.
|
|
27
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
28
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
29
|
-
*/
|
|
30
24
|
constructor(name, args, opts) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
throw new Error("Missing required property 'addonName'");
|
|
36
|
-
}
|
|
37
|
-
if ((!args || args.cluster === undefined) && !opts.urn) {
|
|
38
|
-
throw new Error("Missing required property 'cluster'");
|
|
39
|
-
}
|
|
40
|
-
resourceInputs["addonName"] = args ? args.addonName : undefined;
|
|
41
|
-
resourceInputs["addonVersion"] = args ? args.addonVersion : undefined;
|
|
42
|
-
resourceInputs["cluster"] = args ? args.cluster : undefined;
|
|
43
|
-
resourceInputs["configurationValues"] = args ? args.configurationValues : undefined;
|
|
44
|
-
resourceInputs["preserve"] = args ? args.preserve : undefined;
|
|
45
|
-
resourceInputs["resolveConflictsOnCreate"] = args ? args.resolveConflictsOnCreate : undefined;
|
|
46
|
-
resourceInputs["resolveConflictsOnUpdate"] = args ? args.resolveConflictsOnUpdate : undefined;
|
|
47
|
-
resourceInputs["serviceAccountRoleArn"] = args ? args.serviceAccountRoleArn : undefined;
|
|
48
|
-
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
}
|
|
52
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
-
super(Addon.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
25
|
+
const cluster = args.cluster;
|
|
26
|
+
super("eks:index:Addon", name, args, Object.assign(Object.assign({}, opts), { parent: cluster }));
|
|
27
|
+
const addon = new aws.eks.Addon(name, Object.assign(Object.assign({}, args), { clusterName: cluster.core.cluster.name, configurationValues: JSON.stringify(args.configurationValues) }), { parent: this, provider: opts === null || opts === void 0 ? void 0 : opts.provider });
|
|
28
|
+
this.addon = addon;
|
|
54
29
|
}
|
|
55
30
|
}
|
|
56
31
|
exports.Addon = Addon;
|
|
57
|
-
/** @internal */
|
|
58
|
-
Addon.__pulumiType = 'eks:index:Addon';
|
|
59
32
|
//# sourceMappingURL=addon.js.map
|
package/addon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addon.js","sourceRoot":"","sources":["../addon.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"addon.js","sourceRoot":"","sources":["../addon.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,yCAAyC;AACzC,mCAAmC;AAcnC;;;GAGG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,iBAAiB;IAG/C,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAE7B,KAAK,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,kCAC5B,IAAI,KACP,MAAM,EAAE,OAAO,IACjB,CAAC;QAEH,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,KAAK,CAC3B,IAAI,kCAEG,IAAI,KACP,WAAW,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EACtC,mBAAmB,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAEjE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,EAAE,CAC7C,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;CACJ;AAvBD,sBAuBC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as aws from "@pulumi/aws";
|
|
2
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
3
|
+
import { AccessEntry, ClusterOptions, RoleMapping, UserMapping } from "./cluster";
|
|
4
|
+
export declare const CONFIG_MAP = "CONFIG_MAP";
|
|
5
|
+
export declare const API_AND_CONFIG_MAP = "API_AND_CONFIG_MAP";
|
|
6
|
+
export declare const API = "API";
|
|
7
|
+
export declare function validateAuthenticationMode(rawArgs: ClusterOptions): ClusterOptions;
|
|
8
|
+
export declare function supportsConfigMap(authenticationMode: string | undefined): boolean;
|
|
9
|
+
export declare function supportsAccessEntries(authenticationMode: string | undefined): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Creates the AWS authentication data for the aws-auth ConfigMap.
|
|
12
|
+
*
|
|
13
|
+
* @param instanceRoles - The instance roles to be mapped.
|
|
14
|
+
* @param roleMappings - The IAM role mappings to be included.
|
|
15
|
+
* @param userMappings - The IAM user mappings to be included.
|
|
16
|
+
* @returns The AWS authentication data for the aws-auth ConfigMap.
|
|
17
|
+
* @throws Error if the IAM role mappings or user mappings are invalid or cannot be serialized to YAML.
|
|
18
|
+
*/
|
|
19
|
+
export declare function createAwsAuthData(instanceRoles: pulumi.Output<aws.iam.Role[]>, roleMappings: pulumi.Input<pulumi.Input<RoleMapping>[]> | undefined, userMappings: pulumi.Input<pulumi.Input<UserMapping>[]> | undefined): pulumi.Input<{
|
|
20
|
+
[key: string]: pulumi.Input<string>;
|
|
21
|
+
}>;
|
|
22
|
+
export declare function createAccessEntries(componentName: string, clusterName: pulumi.Input<string>, accessEntries: {
|
|
23
|
+
[key: string]: AccessEntry;
|
|
24
|
+
}, opts: pulumi.CustomResourceOptions): aws.eks.AccessEntry[];
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2016-2024, Pulumi Corporation.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.createAccessEntries = exports.createAwsAuthData = exports.supportsAccessEntries = exports.supportsConfigMap = exports.validateAuthenticationMode = exports.API = exports.API_AND_CONFIG_MAP = exports.CONFIG_MAP = void 0;
|
|
17
|
+
const aws = require("@pulumi/aws");
|
|
18
|
+
const pulumi = require("@pulumi/pulumi");
|
|
19
|
+
const jsyaml = require("js-yaml");
|
|
20
|
+
exports.CONFIG_MAP = "CONFIG_MAP";
|
|
21
|
+
exports.API_AND_CONFIG_MAP = "API_AND_CONFIG_MAP";
|
|
22
|
+
exports.API = "API";
|
|
23
|
+
function validateAuthenticationMode(rawArgs) {
|
|
24
|
+
const args = clusterOptionsShallowCopy(rawArgs);
|
|
25
|
+
if (args.authenticationMode &&
|
|
26
|
+
args.authenticationMode !== exports.CONFIG_MAP &&
|
|
27
|
+
args.authenticationMode !== exports.API_AND_CONFIG_MAP &&
|
|
28
|
+
args.authenticationMode !== exports.API) {
|
|
29
|
+
throw new Error(`Invalid value for authenticationMode: ${args.authenticationMode}. Allowed values are: ${exports.CONFIG_MAP}, ${exports.API_AND_CONFIG_MAP}, ${exports.API}.`);
|
|
30
|
+
}
|
|
31
|
+
if (!supportsConfigMap(args.authenticationMode)) {
|
|
32
|
+
const checkNonEmpty = (prop) => (pv) => {
|
|
33
|
+
if (pv !== undefined && pv.length !== 0) {
|
|
34
|
+
throw new Error(`The '${prop}' property does not support non-empty values when 'authenticationMode' is set to ` +
|
|
35
|
+
`'${args.authenticationMode}'.`);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
args.roleMappings = validatedInput(args.roleMappings, checkNonEmpty("roleMappings"));
|
|
39
|
+
args.userMappings = validatedInput(args.userMappings, checkNonEmpty("userMappings"));
|
|
40
|
+
args.instanceRoles = validatedInput(args.instanceRoles, checkNonEmpty("instanceRoles"));
|
|
41
|
+
}
|
|
42
|
+
if (!supportsAccessEntries(args.authenticationMode)) {
|
|
43
|
+
const apiOnlyProperties = ["accessEntries"];
|
|
44
|
+
apiOnlyProperties.forEach((prop) => {
|
|
45
|
+
if (args[prop]) {
|
|
46
|
+
const errorMsg = args.authenticationMode != null
|
|
47
|
+
? `set to '${args.authenticationMode}'`
|
|
48
|
+
: "not set";
|
|
49
|
+
throw new Error(`The '${prop}' property is not supported when 'authenticationMode' is ${errorMsg}.`);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
return args;
|
|
54
|
+
}
|
|
55
|
+
exports.validateAuthenticationMode = validateAuthenticationMode;
|
|
56
|
+
// Validate promptly if possible, otherwise validate in the Promise chain underlying the Output and ensure that the
|
|
57
|
+
// input is gated on the validation. Unfortunately since apply always unwraps, the validate function required here needs
|
|
58
|
+
// to be able to handle both unwrapped and normal forms.
|
|
59
|
+
function validatedInput(i, validate) {
|
|
60
|
+
if (i instanceof Promise) {
|
|
61
|
+
return pulumi.output(i).apply((value) => {
|
|
62
|
+
validate(value);
|
|
63
|
+
return i;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
else if (pulumi.Output.isInstance(i)) {
|
|
67
|
+
return i.apply((value) => {
|
|
68
|
+
validate(value);
|
|
69
|
+
return i;
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
else if (i === undefined) {
|
|
73
|
+
validate(undefined);
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
validate(i);
|
|
78
|
+
return i;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
// Create a shallow copy of ClusterOptions.
|
|
82
|
+
function clusterOptionsShallowCopy(args) {
|
|
83
|
+
return Object.assign({}, args);
|
|
84
|
+
}
|
|
85
|
+
function supportsConfigMap(authenticationMode) {
|
|
86
|
+
// If authenticationMode is not provided, it defaults to CONFIG_MAP
|
|
87
|
+
return (!authenticationMode ||
|
|
88
|
+
authenticationMode === exports.CONFIG_MAP ||
|
|
89
|
+
authenticationMode === exports.API_AND_CONFIG_MAP);
|
|
90
|
+
}
|
|
91
|
+
exports.supportsConfigMap = supportsConfigMap;
|
|
92
|
+
function supportsAccessEntries(authenticationMode) {
|
|
93
|
+
return authenticationMode === exports.API || authenticationMode === exports.API_AND_CONFIG_MAP;
|
|
94
|
+
}
|
|
95
|
+
exports.supportsAccessEntries = supportsAccessEntries;
|
|
96
|
+
/**
|
|
97
|
+
* Creates the AWS authentication data for the aws-auth ConfigMap.
|
|
98
|
+
*
|
|
99
|
+
* @param instanceRoles - The instance roles to be mapped.
|
|
100
|
+
* @param roleMappings - The IAM role mappings to be included.
|
|
101
|
+
* @param userMappings - The IAM user mappings to be included.
|
|
102
|
+
* @returns The AWS authentication data for the aws-auth ConfigMap.
|
|
103
|
+
* @throws Error if the IAM role mappings or user mappings are invalid or cannot be serialized to YAML.
|
|
104
|
+
*/
|
|
105
|
+
function createAwsAuthData(instanceRoles, roleMappings, userMappings) {
|
|
106
|
+
const instanceRoleMappings = instanceRoles.apply((roles) => roles.map((role) => createInstanceRoleMapping(role.arn)));
|
|
107
|
+
const mapRoles = pulumi
|
|
108
|
+
.all([pulumi.output(roleMappings || []), instanceRoleMappings])
|
|
109
|
+
.apply(([mappings, instanceMappings]) => {
|
|
110
|
+
let mappingYaml = "";
|
|
111
|
+
try {
|
|
112
|
+
mappingYaml = jsyaml.dump([...mappings, ...instanceMappings].map((m) => ({
|
|
113
|
+
rolearn: m.roleArn,
|
|
114
|
+
username: m.username,
|
|
115
|
+
groups: m.groups,
|
|
116
|
+
})));
|
|
117
|
+
}
|
|
118
|
+
catch (e) {
|
|
119
|
+
throw new Error(`The IAM role mappings provided could not be properly serialized to YAML for the aws-auth ConfigMap`);
|
|
120
|
+
}
|
|
121
|
+
return mappingYaml;
|
|
122
|
+
});
|
|
123
|
+
const nodeAccessData = {
|
|
124
|
+
mapRoles: mapRoles,
|
|
125
|
+
};
|
|
126
|
+
if (userMappings) {
|
|
127
|
+
nodeAccessData.mapUsers = pulumi.output(userMappings).apply((mappings) => {
|
|
128
|
+
let mappingYaml = "";
|
|
129
|
+
try {
|
|
130
|
+
mappingYaml = jsyaml.dump(mappings.map((m) => ({
|
|
131
|
+
userarn: m.userArn,
|
|
132
|
+
username: m.username,
|
|
133
|
+
groups: m.groups,
|
|
134
|
+
})));
|
|
135
|
+
}
|
|
136
|
+
catch (e) {
|
|
137
|
+
throw new Error(`The IAM user mappings provided could not be properly serialized to YAML for the aws-auth ConfigMap`);
|
|
138
|
+
}
|
|
139
|
+
return mappingYaml;
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
return nodeAccessData;
|
|
143
|
+
}
|
|
144
|
+
exports.createAwsAuthData = createAwsAuthData;
|
|
145
|
+
function createAccessEntries(componentName, clusterName, accessEntries, opts) {
|
|
146
|
+
return Object.entries(accessEntries).map(([name, accessEntry]) => {
|
|
147
|
+
const entry = new aws.eks.AccessEntry(`${componentName}-${name}`, Object.assign(Object.assign({}, accessEntry), { clusterName, userName: accessEntry.username }), opts);
|
|
148
|
+
Object.entries(accessEntry.accessPolicies || {}).map(([associationName, association]) => {
|
|
149
|
+
const associationOutput = pulumi.output(association);
|
|
150
|
+
const policyAssociation = new aws.eks.AccessPolicyAssociation(`${componentName}-${name}-${associationName}`, {
|
|
151
|
+
accessScope: associationOutput.accessScope,
|
|
152
|
+
principalArn: accessEntry.principalArn,
|
|
153
|
+
policyArn: associationOutput.policyArn,
|
|
154
|
+
clusterName,
|
|
155
|
+
}, Object.assign(Object.assign({}, opts), { parent: entry, dependsOn: [entry] }));
|
|
156
|
+
});
|
|
157
|
+
return entry;
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
exports.createAccessEntries = createAccessEntries;
|
|
161
|
+
/**
|
|
162
|
+
* Enable access to the EKS cluster for worker nodes, by creating an
|
|
163
|
+
* instance role mapping to the k8s username and groups of aws-auth.
|
|
164
|
+
*/
|
|
165
|
+
function createInstanceRoleMapping(arn) {
|
|
166
|
+
return {
|
|
167
|
+
roleArn: arn,
|
|
168
|
+
username: "system:node:{{EC2PrivateDNSName}}",
|
|
169
|
+
groups: ["system:bootstrappers", "system:nodes"],
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
//# sourceMappingURL=authenticationMode.js.map
|