fix(charts): remove malfunctioning SCALE migration script

This commit is contained in:
Kjeld Schouten-Lebbing
2022-06-07 20:36:39 +02:00
parent 5529c2a3af
commit 16d15554c1
686 changed files with 325 additions and 7906 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: ipfs
version: 3.0.0
version: 3.0.1
appVersion: "0.12.2"
description: IPFS is a global, versioned, peer-to-peer filesystem. It combines good ideas from previous systems such Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single bittorrent swarm, exchanging git objects.
type: application
@@ -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()))))