Skip to content

Commit 2eb637d

Browse files
author
Your Name
committed
Bump up Version
1 parent b23b658 commit 2eb637d

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

charts/opencloud-microservices/deployments/timoni/configmap.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ data:
2020
EXTERNAL_DOMAIN: "cloud.opencloud.test"
2121
TAG: "3.0.0"
2222

23+
###############################################################################
24+
# Deployment Strategy
25+
###############################################################################
26+
DEPLOY_TYPE: "Recreate"
27+
MAX_SURGE: "25%"
28+
MAX_UNAV: "25%"
29+
2330
OPENCLOUD_WEB_URL: "https://www.opencloud.eu"
2431
OPENCLOUD_LOGGING_LEVEL: "debug"
2532

charts/opencloud-microservices/deployments/timoni/opencloud.cue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ bundle: {
3535
// Global persistence indirection (like _domainFilter pattern)
3636
_persistenceStorageClassName: string @timoni(runtime:string:PERSISTENCE_STORAGE_CLASS_NAME)
3737
_persistenceAccessModes: string @timoni(runtime:string:PERSISTENCE_ACCESS_MODES)
38+
39+
deploymentStrategy: {
40+
type: string @timoni(runtime:string:DEPLOYMENT_STRATEGY_TYPE)
41+
rollingUpdate: {
42+
maxSurge: string @timoni(runtime:string:DEPLOYMENT_STRATEGY_ROLLINGUPDATE_MAXSURGE)
43+
maxUnavailable: string @timoni(runtime:string:DEPLOYMENT_STRATEGY_ROLLINGUPDATE_MAXUNAVAILABLE)
44+
}
45+
}
46+
3847
logging: {
3948
level: string @timoni(runtime:string:OPENCLOUD_LOGGING_LEVEL)
4049
}

charts/opencloud-microservices/deployments/timoni/runtime.cue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ runtime: {
4747
"TAG": "obj.data.TAG"
4848
"EXTERNAL_DOMAIN": "obj.data.EXTERNAL_DOMAIN"
4949
"KEYCLOAK_DOMAIN": "obj.data.KEYCLOAK_DOMAIN"
50+
"DEPLOY_TYPE": "obj.data.DEPLOY_TYPE"
51+
"MAX_SURGE": "obj.data.MAX_SURGE"
52+
"MAX_UNAV": "obj.data.MAX_UNAV"
5053
"MINIO_DOMAIN": "obj.data.MINIO_DOMAIN"
5154
"MINIO_PERSISTENCE_SIZE": "obj.data.MINIO_PERSISTENCE_SIZE"
5255
"LDAP_URI": "obj.data.LDAP_URI"
@@ -124,6 +127,9 @@ runtime: {
124127
}
125128
]
126129
defaults: {
130+
DEPLOY_TYPE: "Recreate"
131+
MAX_SURGE: "25%"
132+
MAX_UNAV: "25%"
127133
TAG: ""
128134
LDAP_ADMIN_PASSWORD: "admin"
129135
LDAP_CONFIG_PASSWORD: "config"

0 commit comments

Comments
 (0)