mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-07 13:32:37 +00:00
helm: add support for history-max parameter (#164)
* helm: add support for history-max parameter The --history-max parameter allows the user to set a maximum amount of revisions per release to be kept in the history. By default helm keeps 10 revisions per release, which means that 10 secrets will be kept per release. * helm: remove default for history_max When the history_max option is not set, the module will not pass '--history-max' to the CLI command. This ensures that the defaults of the helm CLI will alwasy be used. * helm: remove whitespace trail * helm: add mutually exclusive logic The 'history_max' parameter is not available when using the 'helm install' command, it is only implemented for 'helm ugprade'. The 'replace' option uses the 'install' parameter, thus 'replace' and 'history_max' have to be mutually exclusive. * helm: formatting changes
This commit is contained in:
committed by
GitHub
parent
2e98493010
commit
a0a6d7121f
2
changelogs/fragments/164-add-history-max.yaml
Normal file
2
changelogs/fragments/164-add-history-max.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- helm - add support for history_max cli parameter (https://github.com/ansible-collections/kubernetes.core/pull/164).
|
||||
Reference in New Issue
Block a user