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

helm module should support --reuse-values and allow for update values #394

Closed
ddl-mmercer opened this issue Feb 25, 2022 · 1 comment · Fixed by #575
Closed

helm module should support --reuse-values and allow for update values #394

ddl-mmercer opened this issue Feb 25, 2022 · 1 comment · Fixed by #575
Labels
topic/helm Issues relating to helm plugins type/enhancement New feature or request

Comments

@ddl-mmercer
Copy link

SUMMARY

Helm has the option to reuse the values used in a deployment, without having to reassign everything. This allows for a more iterative approach when changing only certain values, as you replace the ones you want, and keep the rest. The helm module should support this approach as well

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

helm

ADDITIONAL INFORMATION

In the case where a user may not have access to all of the original values outside of helm (ie, for ansible to leverage), re-use values allows for the use of what helm already knows

In the example below, we are specifically reusing all of the values that helm already knows/stores, and either updating or setting new values atop them. In the example, lets assume replicas existed as 1; it is now updated to 2. We also added 'version' as a new value to make tracking easier.. It should account for both of these changes

- name: Deploy latest version of Grafana chart inside monitoring namespace with values
  kubernetes.core.helm:
    name: test
    chart_ref: stable/grafana
    release_namespace: monitoring
    reuse_values: yes
    values:
      replicas: 2
      version: 3e8ec0b2dffa40fb97d5342e4af887de95faa8c61a62480dd7f8aa03dffcf533
@gravesm gravesm added topic/helm Issues relating to helm plugins type/enhancement New feature or request labels Mar 1, 2022
@haroonb
Copy link

haroonb commented Apr 6, 2022

I would also welcome this feature, since a very handy feature of helm.

softwarefactory-project-zuul bot pushed a commit that referenced this issue Feb 16, 2023
helm - add reuse_values and reset_values support

SUMMARY

closes #394

ISSUE TYPE


Feature Pull Request

COMPONENT NAME

helm
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <mgraves@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/helm Issues relating to helm plugins type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants