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

Update workflow configmap model #591

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Calvinaud
Copy link
Contributor

What this PR does / why we need it:
litmuschaos/litmus-helm#405
This PR update the litmus-helm-agent so instead of updating the workflow-controller-configmap it will patch it.
This is will allow to pass custom workflow-controlelr-configmap and so it's not overwrittent by the litmus-helm-agent.

Special notes for your reviewer:
At the moment, one configuration was removed from the helm-agent (the executor.imagePullPolicy) that will be added directly from the helm configuration to allow custom configuration in the "executor" section.

Calvinaud and others added 3 commits October 2, 2024 17:11
- Use the 2.7+ format so all config not overwritten when patch will be introduce

Signed-off-by: Calvin Audier <[email protected]>
- Rename the function
- Use kubernetes patch instead of kubernetes update

Signed-off-by: Calvin Audier <[email protected]>
- It was removed to allow overwrite others values in the executor section
- As this value was static it will be added back from in the default configmap value.
(This mean the configuration will still be there and we can even overwrite now)

Signed-off-by: Calvin Audier <[email protected]>
@Calvinaud Calvinaud force-pushed the update-workflow-configmap-model branch from a16a713 to ff69876 Compare October 2, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant