Merge "Update to user override deleteion to preserve system overrides"

This commit is contained in:
Zuul 2018-11-07 17:03:48 +00:00 committed by Gerrit Code Review
commit c05dc19d69

View File

@ -146,6 +146,7 @@ class HelmChartsController(rest.RestController):
""" """
self.validate_name_and_namespace(name, namespace) self.validate_name_and_namespace(name, namespace)
try: try:
pecan.request.dbapi.helm_override_destroy(name, namespace) pecan.request.dbapi.helm_override_update(name, namespace,
{'user_overrides': None})
except exception.HelmOverrideNotFound: except exception.HelmOverrideNotFound:
pass pass