Skip to content

Commit

Permalink
cleanup removed valeus
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Sep 19, 2024
1 parent 852afe1 commit 939ee81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/ix-dev/community/ddns-updater/migrations/migrate
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 939ee81

Please sign in to comment.