Skip to content

Commit 4a5ae3a

Browse files
authored
feat: add support for Capability resource (#189)
Description of changes: Add support for EKS Capabilities By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 4a32535 commit 4a5ae3a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4256
-178
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-11-29T03:07:46Z"
3-
build_hash: 23c7074fa310ad1ccb38946775397c203b49f024
2+
build_date: "2025-12-04T22:22:03Z"
3+
build_hash: 87b3ccf81d5171062be0fbf0d803787bb5de414e
44
go_version: go1.25.4
5-
version: v0.56.0
6-
api_directory_checksum: 2b5e65a1d5f0a032d51209f925b714aff4b6dc96
5+
version: v0.56.0-3-g87b3ccf
6+
api_directory_checksum: df9ec56e987fdc93ed2e7f55c55cf0bc3372b109
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.37.0
8+
aws_sdk_go_version: v1.40.1
99
generator_config_info:
10-
file_checksum: ba92a429d7714ec0cbbc97d443575e9442b95c74
10+
file_checksum: 09e8ab62fa9bc1628dd6077670e7a1d1e8214b56
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/capability.go

Lines changed: 147 additions & 0 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: 79 additions & 0 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: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,55 @@ resources:
530530
type: string
531531
index: 40
532532
priority: 1
533+
Capability:
534+
synced:
535+
when:
536+
- path: Status.Status
537+
in:
538+
- ACTIVE
539+
- CREATE_FAILED
540+
- DELETE_FAILED
541+
hooks:
542+
sdk_update_pre_build_request:
543+
template_path: hooks/capability/sdk_update_pre_build_request.go.tpl
544+
sdk_update_post_build_request:
545+
template_path: hooks/capability/sdk_update_post_build_request.go.tpl
546+
renames:
547+
operations:
548+
CreateCapability:
549+
input_fields:
550+
CapabilityName: Name
551+
output_fields:
552+
CapabilityName: Name
553+
DescribeCapability:
554+
input_fields:
555+
CapabilityName: Name
556+
output_fields:
557+
CapabilityName: Name
558+
UpdateCapability:
559+
input_fields:
560+
CapabilityName: Name
561+
output_fields:
562+
CapabilityName: Name
563+
DeleteCapability:
564+
input_fields:
565+
CapabilityName: Name
566+
fields:
567+
Configuration.ArgoCD.RbacRoleMappings.Identities.Type:
568+
go_tag: json:"type,omitempty"
569+
Configuration:
570+
# Ignoring setting this, because we need to do
571+
# a custom comparison for ToADD and ToRemove
572+
set:
573+
- ignore: all
574+
method: Update
575+
Type:
576+
is_immutable: true
577+
go_tag: json:"type"
578+
Name:
579+
is_immutable: true
580+
ClusterName:
581+
is_immutable: true
533582
ignore:
534583
resource_names:
535584
- EksAnywhereSubscription
@@ -542,3 +591,10 @@ ignore:
542591
- DescribeNodegroupOutput.Nodegroup.UpdateConfig.UpdateStrategy
543592
- DescribeNodegroupOutput.Nodegroup.NodeRepairConfig
544593
- CreateNodegroupInput.NodeRepairConfig
594+
- CreateCapabilityInput.ClientRequestToken
595+
- CreateAddonInput.NamespaceConfig
596+
- CreateAddonOutput.Addon.NamespaceConfig
597+
- CreateClusterInput.ControlPlaneScalingConfig
598+
- CreateClusterInput.DeletionProtection
599+
- CreateClusterOutput.Cluster.ControlPlaneScalingConfig
600+
- CreateClusterOutput.Cluster.DeletionProtection

0 commit comments

Comments
 (0)