allow specifying resources on couchdb-backup deployment

This commit is contained in:
Thomas Weiß 2022-08-29 13:52:45 +02:00
parent 1057eab83a
commit de62475d93
2 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,10 @@ spec:
image: redgeoff/replicate-couchdb-cluster
imagePullPolicy: Always
name: couchdb-backup
resources: {}
{{ with .Values.services.couchdb.backup.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{ end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}

View File

@ -151,6 +151,7 @@ services:
target: ""
# backup interval in seconds
interval: ""
resources: {}
redis:
enabled: true # disable if using external redis