fix: support changing numbers of replicas
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
217eab774b
commit
ffbe7db0f9
@ -5,6 +5,11 @@ metadata:
|
||||
labels:
|
||||
{{- include "drone.labels" . | nindent 4 }}
|
||||
spec:
|
||||
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
|
||||
replicas: 1
|
||||
{{- else }}
|
||||
replicas: {{ .Values.replicas | default 1 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "drone.selectorLabels" . | nindent 6 }}
|
||||
|
@ -19,6 +19,10 @@ podPriorityClassName: ""
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
# Increasing the amount of replicas has no effect, when `DRONE_DATABASE_DRIVER`
|
||||
# is set to sqlite3.
|
||||
replicas: 1
|
||||
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
|
Loading…
Reference in New Issue
Block a user