allow specifying resources on couchdb-backup deployment

This commit is contained in:
Thomas Weiß 2022-08-29 13:52:45 +02:00
parent 3295c14679
commit cfd757d712
No known key found for this signature in database
GPG Key ID: 0F711E902271C8BA
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