Skip to content

Commit 3cdbb59

Browse files
committed
chore: update sourcebot version to 0.1.67 and add deployment strategy configuration
Signed-off-by: Alexander Chernov <alexander@chernov.it>
1 parent cc8e9b1 commit 3cdbb59

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

charts/sourcebot/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
type: application
33
name: sourcebot
4-
version: 0.1.66
4+
version: 0.1.67
55
appVersion: v4.16.3
66
description: Sourcebot is a self-hosted tool that helps you understand your codebase.
77
icon: https://raw.githubusercontent.com/sourcebot-dev/sourcebot/ebf6721836b8f878d42bb8c1e844bdc7867a74fe/packages/web/public/logo_512.png

charts/sourcebot/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ metadata:
88
{{- include "sourcebot.labels" $ | nindent 4 }}
99
spec:
1010
replicas: {{ $.Values.sourcebot.replicaCount }}
11+
{{- with $.Values.sourcebot.strategy }}
12+
strategy:
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
1115
selector:
1216
matchLabels:
1317
{{- include "sourcebot.selectorLabels" $ | nindent 6 }}

charts/sourcebot/values.schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@
3636
"type": "integer",
3737
"minimum": 1
3838
},
39+
"strategy": {
40+
"type": "object",
41+
"properties": {
42+
"type": {
43+
"type": "string",
44+
"enum": ["RollingUpdate", "Recreate"]
45+
},
46+
"rollingUpdate": {
47+
"type": "object"
48+
}
49+
}
50+
},
3951
"image": {
4052
"type": "object",
4153
"properties": {

charts/sourcebot/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ global:
44
security:
55
# -- Allow insecure images to use bitnami legacy repository. Can be set to false if secure images are being used (Paid).
66
allowInsecureImages: true
7-
7+
88
# -- Global Docker registry secret names as an array
99
imagePullSecrets: []
1010

@@ -19,6 +19,10 @@ sourcebot:
1919
# -- Set the number of replicas for the deployment
2020
replicaCount: 1
2121

22+
# -- Deployment strategy configuration
23+
strategy:
24+
type: RollingUpdate
25+
2226
# Image configuration
2327
image:
2428
# -- Container image repository

0 commit comments

Comments
 (0)