3 Commits

Author SHA1 Message Date
ffbe7db0f9 fix: support changing numbers of replicas
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-04 22:24:45 +01:00
217eab774b chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.39.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-01-28 23:07:13 +00:00
55fc508141 fix(renovate): remove automerge options
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 14:55:28 +01:00
4 changed files with 10 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ steps:
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.38.0 image: git.cryptic.systems/volker.raschek/markdownlint:0.39.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150

View File

@@ -1,7 +1,5 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"assignees": [ "volker.raschek" ], "assignees": [ "volker.raschek" ],
"labels": [ "renovate" ], "labels": [ "renovate" ],
"packageRules": [ "packageRules": [

View File

@@ -5,6 +5,11 @@ metadata:
labels: labels:
{{- include "drone.labels" . | nindent 4 }} {{- include "drone.labels" . | nindent 4 }}
spec: spec:
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
replicas: 1
{{- else }}
replicas: {{ .Values.replicas | default 1 }}
{{- end }}
selector: selector:
matchLabels: matchLabels:
{{- include "drone.selectorLabels" . | nindent 6 }} {{- include "drone.selectorLabels" . | nindent 6 }}

View File

@@ -19,6 +19,10 @@ podPriorityClassName: ""
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
# Increasing the amount of replicas has no effect, when `DRONE_DATABASE_DRIVER`
# is set to sqlite3.
replicas: 1
securityContext: {} securityContext: {}
# capabilities: # capabilities:
# drop: # drop: