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 the equivalent of the command line --history-max flag #22

Closed
dojones1 opened this issue Jan 27, 2021 · 2 comments
Labels
topic/helm Issues relating to helm plugins

Comments

@dojones1
Copy link

SUMMARY

HELM module should allow equivalent configuration of the --history-max field.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

community.kubernetes.helm

ADDITIONAL INFORMATION

When the helm module is invoked to trigger an upgrade it results in additional secrets being created up to the default maximum (10) of the form: sh.helm.release.v1..v<deployment#>.

This requires a large number of secrets being configured as the quota in the K8s cluster. If it supported the CLIs --history-max option, then deployments would be capped at a much lower threshold.

If run manually I would do helm upgrade -f file --history-max value release chart

Example configuration:

  community.kubernetes.helm:
    name: test
    chart_ref: stable/grafana
    release_namespace: monitoring
    history_max: 2
@gravesm
Copy link
Member

gravesm commented Jan 29, 2021

@dojones1 Thank you for reporting this! Would you be interested in creating a PR for this feature?

@gravesm gravesm transferred this issue from ansible-collections/community.kubernetes Apr 8, 2021
@tima tima added the topic/helm Issues relating to helm plugins label Jul 1, 2021
@gravesm
Copy link
Member

gravesm commented Jul 21, 2021

@dojones1 this feature has been added in #164.

@gravesm gravesm closed this as completed Jul 21, 2021
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
Projects
None yet
Development

No branches or pull requests

3 participants