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

internal: add missing types when generating helm template command #1002

Merged
merged 1 commit into from Aug 2, 2022

Conversation

aanm
Copy link
Member

@aanm aanm commented Aug 2, 2022

Some types were not being printed when generated helm template command.
For example:

ipam:
  mode: cluster-pool
  operator:
    clusterPoolIPv4PodCIDRList:
      - "10.244.0.0/16"
      - "10.245.0.0/16"

Now, when running cilium install the helm template command for those
values will be correctly presented:

helm template [...] --set ipam.operator.clusterPoolIPv4PodCIDRList[0]=10.244.0.0/16,ipam.operator.clusterPoolIPv4PodCIDRList[1]=10.244.0.1/16 [...]

Signed-off-by: André Martins andre@cilium.io

Some types were not being printed when generated helm template command.
For example:
```
ipam:
  mode: cluster-pool
  operator:
    clusterPoolIPv4PodCIDRList:
      - "10.244.0.0/16"
      - "10.245.0.0/16"
```

Now, when running cilium install the helm template command for those
values will be correctly presented:
```
helm template [...] --set ipam.operator.clusterPoolIPv4PodCIDRList[0]=10.244.0.0/16,ipam.operator.clusterPoolIPv4PodCIDRList[1]=10.244.0.1/16 [...]
```

Signed-off-by: André Martins <andre@cilium.io>
@aanm aanm added the kind/bug Something isn't working label Aug 2, 2022
@aanm aanm requested a review from a team as a code owner August 2, 2022 15:58
@aanm aanm requested a review from ldelossa August 2, 2022 15:58
@aanm aanm temporarily deployed to ci August 2, 2022 15:58 Inactive
@tklauser tklauser merged commit c1de712 into master Aug 2, 2022
@tklauser tklauser deleted the pr/fix-helm-commands branch August 2, 2022 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants