Publish new changes in catalog

This commit is contained in:
sonicaj committed 2023-07-15 19:21:13 +00:00
1 parent 4263eedaa7
commit e79a66c68b
213 files changed
+63 -22

No files matched your search

File renamed without changes.
@@ -3,7 +3,7 @@ description: WebDAV is a set of extensions to the HTTP protocol which allows use
annotations:
title: WebDAV
type: application
version: 1.0.7
version: 1.0.8
apiVersion: v2
appVersion: '1.1.3.2982'
kubeVersion: '>=1.16.0-0'
File renamed without changes.
File renamed without changes.
@@ -19,7 +19,7 @@ webdavNetwork:
httpPort: 30034
https: false
httpsPort: 30035
certificateID: 0
certificateID: null
webdavRunAs:
user: 568
group: 568
File renamed without changes.
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python3
import json
import os
import sys
def migrate(values):
if values.get('webdavNetwork', {}).get('certificateID', {}) == 0:
values['webdavNetwork']['certificateID'] = None
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()))))
File renamed without changes.