matrix-synapse: Add resource values for key job

This commit is contained in:
Alexander "Ace" Olofsson 2021-03-01 21:10:03 +01:00
parent f2c516866a
commit 762be6c169
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
3 changed files with 13 additions and 13 deletions

View file

@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
appVersion: 1.28.0 appVersion: 1.28.0
type: application type: application
version: 1.3.16 version: 1.4.0
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson
email: ace@haxalot.com email: ace@haxalot.com

View file

@ -76,12 +76,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
name: signing-key-generate name: signing-key-generate
resources: resources:
requests: {{- toYaml .Values.signingkey.resources | nindent 12 }}
memory: 25Mi
cpu: 100m
limits:
memory: 25Mi
cpu: 100m
volumeMounts: volumeMounts:
- mountPath: /scripts - mountPath: /scripts
name: scripts name: scripts
@ -102,12 +97,7 @@ spec:
image: bitnami/kubectl image: bitnami/kubectl
name: signing-key-upload name: signing-key-upload
resources: resources:
requests: {{- toYaml .Values.signingkey.resources | nindent 12 }}
memory: 100Mi
cpu: 100m
limits:
memory: 100Mi
cpu: 100m
volumeMounts: volumeMounts:
- mountPath: /scripts - mountPath: /scripts
name: scripts name: scripts

View file

@ -36,6 +36,16 @@ signingkey:
# existingSecret: # existingSecret:
# existingSecretKey: signing.key # existingSecretKey: signing.key
## Resources to apply to the signing key generation job
##
resources: {}
# limits:
# cpu: 100m
# memory: 250Mi
# requests:
# cpu: 100m
# memory: 250Mi
## The Matrix domain name, this is what will be used for the domain part in ## The Matrix domain name, this is what will be used for the domain part in
## your MXIDs. ## your MXIDs.
## ##