Merge "Update to user override deleteion to preserve system overrides"
This commit is contained in:
commit
c05dc19d69
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user