Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eks): support AccessConfig for the Cluster construct #30016

Merged
merged 58 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
955a94c
access config support
pahud Apr 30, 2024
04a395b
wip
pahud May 2, 2024
8bd96e8
AccessEntry L2 support
pahud May 3, 2024
396b4bb
minor
pahud May 3, 2024
98254fe
unit tests
pahud May 3, 2024
825203a
refactor AccessPolicy
pahud May 4, 2024
526db6c
update README
pahud May 4, 2024
9cb9c6b
disable awsAuth when authMode is API
pahudcc May 5, 2024
caaf04a
throw when configmap is not supported
pahudcc May 5, 2024
734cbca
add integ and snapshots
pahudcc May 6, 2024
fef2785
unit tests for AccessEntry
pahudcc May 6, 2024
3346c06
add more awsauth tests
pahudcc May 6, 2024
bebc33f
update yarn.lock per requested by CI
pahudcc May 6, 2024
d57d537
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud May 6, 2024
ee7def0
add unit tests for AccessPolicy and AccessPolicyArn
pahudcc May 6, 2024
67a2397
fix docstring
pahudcc May 6, 2024
ee00e00
fix integ test
pahudcc May 6, 2024
6249396
update tests
pahudcc May 7, 2024
bd90cb2
fix tests
pahudcc May 7, 2024
209ef32
update integ tests
pahudcc May 7, 2024
17dd42b
update tests
pahudcc May 8, 2024
6b349bf
update tests
pahud May 8, 2024
859ccde
fix README
pahud May 8, 2024
2432b07
updat cluster resource handler to handle
pahud May 8, 2024
4165464
Merge branch 'pahud/aws-eks-support-accessconfig-28588' of https://gi…
pahud May 8, 2024
5ecb856
callout bootstrapClusterCreatorAdminPermissions in README
pahud May 8, 2024
05d0019
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud May 13, 2024
ceac30a
update integ
pahud May 13, 2024
c9b0314
Update packages/aws-cdk-lib/aws-eks/lib/cluster.ts
pahud May 14, 2024
8782fea
improve doc string
pahud May 15, 2024
082c06b
make addToAccessEntry private
pahud May 15, 2024
54cdcbe
update fromAccessPolicyName()
pahud May 22, 2024
ae9a22c
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud Jun 5, 2024
101759f
fix typo and lint
pahud Jun 5, 2024
b930040
update tests
pahud Jun 5, 2024
e1146df
update README
pahud Jun 5, 2024
c4e9c40
improve the tests
pahud Jun 6, 2024
29968e5
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud Jun 6, 2024
6445773
add AccessEntryType
pahud Jun 6, 2024
f19805c
add test for accessEntryType
pahud Jun 6, 2024
8365348
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud Jun 6, 2024
1fddf0c
update
pahud Jun 6, 2024
1b25f92
update tests
pahud Jun 6, 2024
841d6b7
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud Jun 6, 2024
cb7802f
add more checks and tests
pahud Jun 6, 2024
7d1bcfe
fix README
pahud Jun 6, 2024
480bf4a
update README
pahud Jun 7, 2024
5a2191e
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
mergify[bot] Jun 11, 2024
364f86b
chore: upgrade jsii to `~5.4.21` (#30518)
mrgrain Jun 11, 2024
74bcc1f
feat: implement node runtime region awareness for cdk vended custom r…
colifran Jun 11, 2024
11597a0
feat(opensearch): add OpenSearch 2.13 engine version (#30399)
timbru31 Jun 11, 2024
34f92df
Merge remote-tracking branch 'origin/main' into pahud/aws-eks-support…
pahud Jun 12, 2024
b98369a
update snaps
pahud Jun 12, 2024
5121217
fix conflict
pahud Jun 12, 2024
619e7bb
fix conflict
pahud Jun 12, 2024
ac72608
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud Jun 12, 2024
353fc93
update snapshots
pahud Jun 12, 2024
3294656
Merge branch 'main' into pahud/aws-eks-support-accessconfig-28588
pahud Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -758,15 +758,16 @@
],
"endpointPublicAccess": true,
"endpointPrivateAccess": true
}
},
"accessConfig": {}
},
"AssumeRoleArn": {
"Fn::GetAtt": [
"ClusterCreationRole360249B6",
"Arn"
]
},
"AttributesRevision": 2
"AttributesRevision": 3
},
"DependsOn": [
"ClusterCreationRoleDefaultPolicyE8BDFC7B",
Expand Down Expand Up @@ -1055,7 +1056,7 @@
{
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"/e9d9890827c645c3a2c82d768d4693e81fa2931a46a36cde032d4250757beab0.json"
"/12013bd7d8559f6883e853e9624275cf3f32d86c166243ab85c46269c009b249.json"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a.zip"
"S3Key": "e360285e7bd78b792c3d120b19dff9840b2c1a235eba49ce3ab0105470358b6f.zip"
},
"Description": "onEvent handler for EKS cluster resource provider",
"Environment": {
Expand Down Expand Up @@ -123,7 +123,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a.zip"
"S3Key": "e360285e7bd78b792c3d120b19dff9840b2c1a235eba49ce3ab0105470358b6f.zip"
},
"Description": "isComplete handler for EKS cluster resource provider",
"Environment": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -790,15 +790,16 @@
],
"endpointPublicAccess": true,
"endpointPrivateAccess": true
}
},
"accessConfig": {}
},
"AssumeRoleArn": {
"Fn::GetAtt": [
"ClusterCreationRole360249B6",
"Arn"
]
},
"AttributesRevision": 2
"AttributesRevision": 3
},
"DependsOn": [
"ClusterCreationRoleDefaultPolicyE8BDFC7B",
Expand Down Expand Up @@ -1090,7 +1091,7 @@
{
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"/5183cc422a19a5604be88f1ee0a9036e003ed1667674934ea69783dc23d26858.json"
"/0b7ef3ca06eaead821362aa05ba1bb17d7176815cd57a424ec9be01db5f23a4c.json"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a.zip"
"S3Key": "e360285e7bd78b792c3d120b19dff9840b2c1a235eba49ce3ab0105470358b6f.zip"
},
"Description": "onEvent handler for EKS cluster resource provider",
"Environment": {
Expand Down Expand Up @@ -123,7 +123,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "98b432f1b1df9de4026df7e718c23783d833d67973da5291085b4dc7be1a568a.zip"
"S3Key": "e360285e7bd78b792c3d120b19dff9840b2c1a235eba49ce3ab0105470358b6f.zip"
},
"Description": "isComplete handler for EKS cluster resource provider",
"Environment": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading