fix(charts): remove malfunctioning SCALE migration script
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: "2.7.4"
|
||||
description: This server allows you to sync any Joplin client
|
||||
name: joplin-server
|
||||
version: 7.0.0
|
||||
version: 7.0.1
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
keywords:
|
||||
- joplin
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/usr/bin/python3
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def migrate(values):
|
||||
values.update({
|
||||
**({'secretEnv': values['secret']} if values.get('secret') else {}),
|
||||
**({'secret': {}} if values.get('secret'))
|
||||
})
|
||||
return values
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
exit(1)
|
||||
|
||||
if os.path.exists(sys.argv[1]):
|
||||
with open(sys.argv[1], 'r') as f:
|
||||
print(json.dumps(migrate(json.loads(f.read()))))
|
||||
Reference in New Issue
Block a user