Skip to content

Releases: aws-controllers-k8s/code-generator

v0.3.1

24 Jun 14:32
9c35918
Compare
Choose a tag to compare

Breaking changes

  • Aligns the code-generator with the ACK runtime v0.3.0, which introduced two breaking changes to the ACK core types, including a new RequeueOnSuccessSeconds method on AWSResourceManagerFactory and a ReplacesConditions method on AWSResource via the new ConditionManager interface (#106, #104, #95 )

New features

  • All CRD variables and functions within hook templates (#91)
  • Add CRD method to get OutputShape

Fixes

  • Prevent unused variable error (#101)
  • Fix broken template for custom code (#100)
  • Remove duplicate aws-sdk-go $service import (#102)

v0.2.3

21 Jun 19:02
d579746
Compare
Choose a tag to compare

NOTE: This release contain some breaking changes ⚠️

Features

  • Add a new config to override kubebuilder printcolumn:name (#79)
  • ⚠️ Move printer column options under the same generator config struct (#82).
    Actions to take: Rename all is_printable parameters in generator configurations to print: { name: $FIELD_NAME } (example aws-controllers-k8s/sagemaker-controller#44)
  • Add a new generator config to change PrinterColumn sort function (#83)
  • Add a new generator config to append an Age printcolumn (#84)
  • Add base CRD documentation (#89)
  • Add a cobra PostRunE to save generation metadata (#90)
  • Support suffix exception (#97)

Bug fixes

  • Update ElastiCache CodeGen test based on new SDK (#75)
  • Patch the correct observed state after a rm.ReadOne call (#76)
  • Add a new operation config to override the SetOutput wrapper field (#78)
  • Add metrics-service.yaml to helm template files. (#80)
  • crossplane: Mark spec as required, status.atProvider as optional (#81)
  • crossplane: remove unnecessary error handling in Update (#85)
  • Add a new config to override kubebuilder:printcolumn priority (#86)
  • Extend ack-generate to generate slice with elements of type K8s Secret (#87)
  • Remove unnecessary homedir module (#88)
  • fix: use deterministic sort for identifier field (#93)
  • Conditionally allow view secrets on ClusterRole (#96)
  • ⚠️ trace sdk.go resource manager methods (#95 )
    Actions to take: Upgrade github.com/aws-controllers/runtime to v0.2.3

v0.2.2

03 Jun 05:08
3aa29a0
Compare
Choose a tag to compare

Features

  • Immutable fields advisory feature (#70)

Bug fixes

  • Add missing sdk_delete_post_build_request hook in sdk.go.tpl (#74)
  • Explicitly mentioning 'metrics' for the ACK controller service. (#77)
  • crossplane: fix the controller template for attribute-based APIs (#31)

v0.2.1

28 May 15:43
8f9a108
Compare
Choose a tag to compare

Features

  • Add pre/post compare hooks for newResourceDelta function (#72)
  • Adding ClusterIP service in helm chart to expose controller metrics (#73)
  • Add log and accountid parameters in helm charts (#69)

Bug fixes

  • panic if matchFieldName config contains an element that is not part of Spec or Status fields (#67)
  • Panic if input field renames are not part of a resource spec/status fields (#66)

v0.2.0

14 May 01:44
cba1bea
Compare
Choose a tag to compare

Aligned with github.com/aws-controllers-k8s/runtime@v0.2.0

Features

  • Allow nested fields to be configured (#47)
  • Replace nested field SecretKeyReferences (#49)
  • Add hooks for post request build (#56)
  • Support single-namespace controllers (#60)

Bug fixes

  • Fix hard-coded sample API version (#48)
  • Use Camelcased name in SpecIdentifierField (#51)
  • Check CRD List types in conflicting names (#52)
  • Clean up unnecessary imports for crossplane (#58)
  • Correct non-standard Ldap names (#59)

v0.1.0

20 Apr 17:48
94186d9
Compare
Choose a tag to compare

Updates the code-generator to build the resource managers that fulfill the ACK runtime v0.1.0 interfaces (notably, to support the adopted resource reconcilers)

v0.0.8

20 Apr 15:40
b6d98fa
Compare
Choose a tag to compare
  • Adds post_set_output hook points (#45)

v0.0.7

19 Apr 17:53
4aed99b
Compare
Choose a tag to compare
  • Support for ConditionTypeRecoverable (#40)
  • Fix up Helm chart generation for split repos (#42)
  • Fix up incorrect url element in Helm values (#43)
  • Allow arbitrary field to be marked as ARN (#44)
  • Support for generic hook callbacks (#26)

v0.0.6

07 Apr 14:34
07c34f1
Compare
Choose a tag to compare
  • Handle nil fields in Describe results for ReadOne/ReadMany (#34)
  • Generate docstrings for CRD fields in ACK types (#35)
  • Fixes delta code generation for nested struct shapes (#36)
  • Bring unit test pinning of runtime up to ACK runtime v0.0.5 (#37)
  • Handle renamed fields properly in pkg/generator/code.SetResource (#38)
  • Fix MapStringStringEqual (#39)
  • Always sort printer columns (#41)

v0.0.5

20 Mar 18:20
38c3b3f
Compare
Choose a tag to compare
  • ACK controller templates generate the new "delta branch" resource comparison interfaces used in ACK common runtime v0.0.5