NAS-122965 / 23.10 / fix default value on certificates (#1373)

* fix default value on certificates

* re-bump syncthing
This commit is contained in:
Stavros Kois
2023-07-15 22:20:40 +03:00
committed by GitHub
parent 74960b81d8
commit 4263eedaa7
25 changed files with 63 additions and 22 deletions

View File

@@ -3,7 +3,7 @@ description: Elasticsearch is the distributed, RESTful search and analytics engi
annotations:
title: Elastic Search
type: application
version: 1.0.15
version: 1.0.16
apiVersion: v2
appVersion: 8.8.2
kubeVersion: '>=1.16.0-0'

View File

@@ -22,7 +22,7 @@ esRunAs:
esNetwork:
httpPort: 30003
hostNetwork: false
certificateID: ''
certificateID: null
esStorage:
data:

View File

@@ -3,7 +3,7 @@ description: File Browser provides a file managing interface within a specified
annotations:
title: File Browser
type: application
version: 1.0.4
version: 1.0.5
apiVersion: v2
appVersion: 'v2.23.0'
kubeVersion: '>=1.16.0-0'

View File

@@ -13,7 +13,7 @@ filebrowserConfig:
filebrowserNetwork:
webPort: 30044
certificateID: 0
certificateID: null
hostNetwork: false
filebrowserRunAs:

View File

@@ -3,7 +3,7 @@ description: Gitea - Git with a cup of tea
annotations:
title: Gitea
type: application
version: 1.0.12
version: 1.0.13
apiVersion: v2
appVersion: '1.19.0'
kubeVersion: '>=1.16.0-0'

View File

@@ -14,7 +14,7 @@ giteaConfig:
giteaNetwork:
webPort: 30008
sshPort: 30009
certificateID: ""
certificateID: null
rootURL: ""
hostNetwork: false

View File

@@ -4,7 +4,7 @@ description: Grafana is the open source analytics & monitoring solution for ever
annotations:
title: Grafana
type: application
version: 1.0.7
version: 1.0.8
apiVersion: v2
appVersion: 10.0.2
kubeVersion: '>=1.16.0-0'

View File

@@ -15,7 +15,7 @@ grafanaConfig:
grafanaNetwork:
hostNetwork: false
webPort: 30037
certificateID: 0
certificateID: null
rootURL: ''
grafanaRunAs:

View File

@@ -3,7 +3,7 @@ description: Jenkins is a leading open source automation server,
annotations:
title: Jenkins
type: application
version: 1.0.6
version: 1.0.7
apiVersion: v2
appVersion: 2.401.2
kubeVersion: '>=1.16.0-0'

View File

@@ -126,6 +126,7 @@ questions:
description: The certificate to use for HTTPS.
schema:
type: int
"null": true
$ref:
- "definitions/certificate"
- variable: agent

View File

@@ -15,7 +15,7 @@ jenkinsConfig:
jenkinsNetwork:
webPort: 30036
https: false
certificateID: 0
certificateID: null
agent: false
agentPort: 50000
hostNetwork: false

View File

@@ -3,7 +3,7 @@ description: MineOS is a server front-end to ease managing Minecraft administrat
annotations:
title: MineOS
type: application
version: 1.0.6
version: 1.0.7
apiVersion: v2
appVersion: 'latest'
kubeVersion: '>=1.16.0-0'

View File

@@ -0,0 +1,20 @@
#!/usr/bin/python3
import json
import os
import sys
def migrate(values):
if values.get('mineosNetwork', {}).get('certificateID', {}) == 0:
values['mineosNetwork']['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()))))

View File

@@ -21,7 +21,7 @@ mineosNetwork:
mineosPortRangeStart: 30016
mineosPortRangeEnd: 30017
useHTTPS: false
certificateID: 0
certificateID: null
mineosStorage:
data:
type: ixVolume

View File

@@ -3,7 +3,7 @@ description: Mumble is a free, open source, low latency, high quality voice chat
annotations:
title: Mumble
type: application
version: 1.0.8
version: 1.0.9
apiVersion: v2
appVersion: 'v1.4.230'
kubeVersion: '>=1.16.0-0'

View File

@@ -21,7 +21,7 @@ mumbleConfig:
mumbleNetwork:
serverPort: 30018
icePort: 30019
certificateID: 0
certificateID: null
mumbleStorage:
data:
type: ixVolume

View File

@@ -3,7 +3,7 @@ description: Alternative implementation of the Bitwarden server API written in R
annotations:
title: Vaultwarden
type: application
version: 1.0.18
version: 1.0.19
apiVersion: v2
appVersion: 1.29.0
kubeVersion: '>=1.16.0-0'

View File

@@ -17,7 +17,7 @@ vaultwardenNetwork:
wsEnabled: true
wsPort: 30033
hostNetwork: false
certificateID: 0
certificateID: null
domain: ''
vaultwardenRunAs:

View File

@@ -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'

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()))))

View File

@@ -19,7 +19,7 @@ webdavNetwork:
httpPort: 30034
https: false
httpsPort: 30035
certificateID: 0
certificateID: null
webdavRunAs:
user: 568
group: 568

View File

@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
annotations:
title: MinIO
type: application
version: 1.0.17
version: 1.0.18
apiVersion: v2
appVersion: '2023-03-24'
kubeVersion: '>=1.16.0-0'

View File

@@ -24,7 +24,7 @@ minioRunAs:
minioNetwork:
apiPort: 30000
webPort: 30001
certificateID: 0
certificateID: null
hostNetwork: true
serverUrl: ''
consoleUrl: ''

View File

@@ -3,7 +3,7 @@ description: Syncthing is a continuous file synchronization program.
annotations:
title: Syncthing
type: application
version: 1.0.7
version: 1.0.8
apiVersion: v2
appVersion: '1.23.3'
kubeVersion: '>=1.16.0-0'

View File

@@ -24,7 +24,7 @@ syncthingID:
syncthingNetwork:
webPort: 30000
certificateID: 0
certificateID: null
hostNetwork: true
# Only used if hostNetwork is false
localDiscoveryPort: 21027