diff options
author | Jan Wozniak <jwozniak@redhat.com> | 2017-08-23 15:22:06 +0200 |
---|---|---|
committer | Jan Wozniak <jwozniak@redhat.com> | 2017-08-24 15:07:35 +0200 |
commit | 51a2d9dbadea02f22168629d44ff339b3c45d6d1 (patch) | |
tree | c2d4979d1ee5a0d7ddd29dec9a949f75a2ece786 /roles/openshift_logging/defaults | |
parent | 4811a6247a37362e3722a4c18a2053343e7a555b (diff) | |
download | openshift-51a2d9dbadea02f22168629d44ff339b3c45d6d1.tar.gz openshift-51a2d9dbadea02f22168629d44ff339b3c45d6d1.tar.bz2 openshift-51a2d9dbadea02f22168629d44ff339b3c45d6d1.tar.xz openshift-51a2d9dbadea02f22168629d44ff339b3c45d6d1.zip |
Bug 1467265 - logging: add 'purge' option with uninstall
The common uninstall would keep PVC around to prevent unwanted data loss during
reinstalls. There is a scenario where the user may want complete removal of EFK
stack including PVC.
This change adds an optional `openshift_logging_purge_logging` variable to
completely remove the EFK stack. By default, this is set to 'False' and only
works if user sets `openshift_logging_install_logging` to 'False' to initiate
the uninstallation process.
Diffstat (limited to 'roles/openshift_logging/defaults')
-rw-r--r-- | roles/openshift_logging/defaults/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_logging/defaults/main.yml b/roles/openshift_logging/defaults/main.yml index 8b0f4cb62..1c0ab6c83 100644 --- a/roles/openshift_logging/defaults/main.yml +++ b/roles/openshift_logging/defaults/main.yml @@ -8,6 +8,7 @@ openshift_logging_labels: {} openshift_logging_label_key: "" openshift_logging_label_value: "" openshift_logging_install_logging: True +openshift_logging_purge_logging: False openshift_logging_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}" openshift_logging_curator_default_days: 30 |