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

feat: Set steps.*.ip to a json list if the node is an aggregate #13615

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

meln5674
Copy link

@meln5674 meln5674 commented Sep 18, 2024

Fixes #13614

Motivation

See #13614

Modifications

Aggregate nodes of demonized steps/tasks now have the ip field set to a JSON list of the pod IPs.

Docs have been updated to note this fact.

Verification

An e2e test has been added in which a set of nginx damon pods are created and then curl'ed, one each for withSequence/Items/Param. I noticed there was no test for the original single pod ip functionality, so I added a test for it as well to confirm this did not break it.

@agilgur5 agilgur5 changed the title feat: Set steps.*.ip to a json list if the node is an aggregate feat: Set steps.*.ip to a json list if the node is an aggregate Sep 21, 2024
@agilgur5 agilgur5 added area/templating Templating with `{{...}}` area/daemon-steps area/looping `withParams`, `withItems`, and `withSequence` labels Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon-steps area/looping `withParams`, `withItems`, and `withSequence` area/templating Templating with `{{...}}`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set steps.*.ip for withSequence
2 participants