diff --git a/library/ix-dev/community/ddns-updater/migrations/migrate b/library/ix-dev/community/ddns-updater/migrations/migrate index 5c15e3030b8..0925b99aee4 100755 --- a/library/ix-dev/community/ddns-updater/migrations/migrate +++ b/library/ix-dev/community/ddns-updater/migrations/migrate @@ -17,6 +17,13 @@ def migrate(values): values[storageKey][storage] = {key: value for key, value in check_val.items() if key != 'hostPath'} + for config in values.get('ddnsConfig', {}).get('config', []): + for key in config.keys(): + if key.endswith('ProviderIP'): + config.pop(key) + break + + return values