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

[Question] how to set helm chart values in a list block #3157

Open
1 task done
matteogazzadi opened this issue Dec 18, 2024 · 0 comments
Open
1 task done

[Question] how to set helm chart values in a list block #3157

matteogazzadi opened this issue Dec 18, 2024 · 0 comments
Labels

Comments

@matteogazzadi
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am using Bitnami MongoDB helm chart as dependency in my application chart and i need to add a custom initContainer.
In my values.yaml, i have the mongodb block with the initContainer populated.

Via fleet.yaml I want to change some parameter of it based on the destination cluster.

The problem comes due tot the fact that initContainers is actually a list block, and I have not found a way, using fleet, to change a value of it.

If i just add - field: custom value, fleet create a new entry in the init containers list instead of replacing the current field value.

I would like to achieve what via helm cli is the --set mongodb.initContainers[0].field=customValue

Any suggestions?

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- Architecture:
- Fleet Version:
- Cluster:
  - Provider:
  - Options:
  - Kubernetes Version:

Logs

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant