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

Add support for complex data types #144

Open
tsahiduek opened this issue Nov 18, 2024 · 1 comment
Open

Add support for complex data types #144

tsahiduek opened this issue Nov 18, 2024 · 1 comment

Comments

@tsahiduek
Copy link

Feature Description

Problem Statement:
For complex objects, such as ACK DyanmoDB Table definition, there's a need to define a complex data-types that will be used as an input for the ResourceGroup.
As an example, ACK DynamoDB Table gets as an input, a list of the following struct:

 attributeDefinitions:
    - attributeName: id
      attributeType: S
    - attributeName: name
      attributeType: S

Currently there's no way to define the following:

tableElement: map[string][string]
attributeDefinition: []tableElement

Proposed Solution:
support complex data types to be able to pass those as an input to the ResourceGroup spec values.

Alternatives Considered:
none

Additional Context:
none

  • Please vote on this issue by adding a 👍 reaction to the original issue
  • If you are interested in working on this feature, please leave a comment
@franckyvrac
Copy link

franckyvrac commented Mar 14, 2025

I've got the same problem to define list of protocols and ports in an networkpolicy :

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: np
spec:
  egress:
  - ports:
    - port: 21
      protocol: TCP
    - port: 25
      protocol: TCP
    - port: 80
      protocol: TCP
    - port: 443
      protocol: TCP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants