Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws-controllers-k8s/lambda-controller
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.1
Choose a base ref
...
head repository: aws-controllers-k8s/lambda-controller
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref
  • 4 commits
  • 43 files changed
  • 1 contributor

Commits on Jun 7, 2023

  1. Adding EventInvokeConfig support for Function (#92)

    Issue #, if available:
    
    **Summary**
    Adding support to configure `EventInvokeConfig`  for a `function` in ACK.
    
    **Description**
    This PR adds support for `EventInvokeConfig` permitted by Lambda API operations in ACK. To implement this functionality I added `EventInvokeConfig` as an inline property to a `function`. Thus the user can directly set configurations for async invocation (EventInvokeConfig) while creating a function. The user can edit the following code to create `eventInvokeConfig` along with `function`.
    
    ```
    apiVersion: lambda.services.k8s.aws/v1alpha1
     kind: Function
     metadata:
       name: $FUNCTION_NAME
       annotations:
         services.k8s.aws/region: $AWS_REGION
     spec:
       name: $FUNCTION_NAME
       code:
         s3Bucket: $BUCKET_NAME
         s3Key: $LAMBDA_FILE_NAME
       functionEventInvokeConfig:
         destinationConfig:
           onSuccess:
             destination: $ON_SUCCESS_DESTINATION
           onFailure:
             destination: $ON_FAILURE_DESTINATION
         maximumEventAgeInSeconds: $MAXIMUM_EVENT_AGE_IN_SECONDS
         maximumRetryAttempts: $MAXIMUM_RETRY_ATTEMPTS
       role: $LAMBDA_ROLE
       runtime: python3.9
       handler: main
       description: function created by ACK lambda-controller e2e tests
    ```
    
    This PR includes both implementation code and e2e tests.
    
    **Acknowledgement**
    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
    Vandita2020 authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    d5ed5df View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Add functionality to pass reference of AmazonManagedKafka (MSK) in `E…

    …ventSourceMapping` resource (#94)
    
    Issue #, if available: 
    [#1394](aws-controllers-k8s/community#1394)
    
    Description of changes:
    
    This PR adds functionality to pass reference for ARN of AmazonManagedKafka cluster to `EventSourceArn` in`EventSourceMapping` resource.
    
    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
    Vandita2020 authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    beba0f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Adding EventInvokeConfig support for Alias (#93)

    Issue #, if available:
    
    **Summary**
    Adding support to configure EventInvokeConfig for alias in ACK.
    
    **Description**
    This PR adds support for `EventInvokeConfig` permitted by Lambda API operations in ACK. To implement this functionality I added `EventInvokeConfig` as an inline property to `alias`. Thus the user can directly set configurations for async invocation (EventInvokeConfig) while creating alias. The user can edit the following code to create `eventInvokeConfig` along with `alias`.
    
    ```
    apiVersion: lambda.services.k8s.aws/v1alpha1
    kind: Alias
    metadata:
      name: $ALIAS_NAME
      annotations:
        services.k8s.aws/region: $AWS_REGION
    spec:
      name: $ALIAS_NAME
      functionName: $FUNCTION_NAME
      functionVersion: $FUNCTION_VERSION
      functionEventInvokeConfig:
        destinationConfig:
          onSuccess:
            destination: $ON_SUCCESS_DESTINATION
          onFailure:
            destination: $ON_FAILURE_DESTINATION
        maximumEventAgeInSeconds: $MAXIMUM_EVENT_AGE_IN_SECONDS
        maximumRetryAttempts: $MAXIMUM_RETRY_ATTEMPTS
      description: alias created by ACK lambda-controller e2e tests
    ```
    
    This PR includes both implementation code and e2e tests.
    
    **Acknowledgement**
    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
    Vandita2020 authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    f18794e View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Release artifacts for release v1.1.0 (#95)

    Issue #, if available:
    
    Description of changes:
    Release artifacts for release v1.1.0
    
    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
    Vandita2020 authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    763cf60 View commit details
    Browse the repository at this point in the history
Loading