Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/sourcebot/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: sourcebot
version: 0.1.66
version: 0.1.67
appVersion: v4.16.3
description: Sourcebot is a self-hosted tool that helps you understand your codebase.
icon: https://raw.githubusercontent.com/sourcebot-dev/sourcebot/ebf6721836b8f878d42bb8c1e844bdc7867a74fe/packages/web/public/logo_512.png
Expand Down
4 changes: 4 additions & 0 deletions charts/sourcebot/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
{{- include "sourcebot.labels" $ | nindent 4 }}
spec:
replicas: {{ $.Values.sourcebot.replicaCount }}
{{- with $.Values.sourcebot.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "sourcebot.selectorLabels" $ | nindent 6 }}
Expand Down
12 changes: 12 additions & 0 deletions charts/sourcebot/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"type": "integer",
"minimum": 1
},
"strategy": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["RollingUpdate", "Recreate"]
},
"rollingUpdate": {
"type": "object"
}
}
},
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"image": {
"type": "object",
"properties": {
Expand Down
6 changes: 5 additions & 1 deletion charts/sourcebot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ global:
security:
# -- Allow insecure images to use bitnami legacy repository. Can be set to false if secure images are being used (Paid).
allowInsecureImages: true

# -- Global Docker registry secret names as an array
imagePullSecrets: []

Expand All @@ -19,6 +19,10 @@ sourcebot:
# -- Set the number of replicas for the deployment
replicaCount: 1

# -- Deployment strategy configuration
strategy:
type: RollingUpdate

# Image configuration
image:
# -- Container image repository
Expand Down