Skip to content

Commit 5798bd1

Browse files
authored
Add AccessConfig to Cluster CRD (#88)
This patch introduces a new field to the Cluster CRD Spec, named `AccessConfig`. This field allows setting two new parameters in a cluster: - Before creation, a users will be able to set `bootstrapClusterCreatorAdminPermissions` - `authenticationMode` after and after the cluster creation. This patch also adds e2e tests to ensure the proper functioning of this feature. Signed-off-by: Amine Hilaly <[email protected]> By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 3b7fc9e commit 5798bd1

28 files changed

+1292
-523
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ack_generate_info:
55
version: v0.28.0-8-g00e081f
66
api_directory_checksum: e3ab17e79de95c932895a4372c0b01e976aec4cb
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.49.0
8+
aws_sdk_go_version: v1.49.13
99
generator_config_info:
1010
file_checksum: 95f5a8da41f547e5d9c7f207d5405b64ed866196
1111
original_file_name: generator.yaml

apis/v1alpha1/addon.go

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/cluster.go

Lines changed: 12 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/enums.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/fargate_profile.go

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ resources:
6363
service_name: ec2
6464
resource: Subnet
6565
path: Status.SubnetID
66+
AccessConfig.BootstrapClusterCreatorAdminPermissions:
67+
compare:
68+
is_ignored: true
6669
exceptions:
6770
errors:
6871
404:
@@ -228,4 +231,5 @@ resources:
228231
path: Status.ACKResourceMetadata.ARN
229232
ignore:
230233
resource_names:
231-
- EksAnywhereSubscription
234+
- EksAnywhereSubscription
235+
- AccessEntry

apis/v1alpha1/nodegroup.go

Lines changed: 9 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/pod_identity_association.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)