Reduces apps default resource usage.
This commit is contained in:
@@ -95,7 +95,7 @@ spec:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: decidim-secrets
|
||||
key: smtpPassword
|
||||
key: smtp.password
|
||||
- name: SMTP_DOMAIN
|
||||
value: {{ .domain }}
|
||||
- name: SMTP_FROM
|
||||
@@ -136,9 +136,9 @@ spec:
|
||||
ephemeral-storage: 10Gi
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
cpu: 50m
|
||||
ephemeral-storage: 50Mi
|
||||
memory: 1Gi
|
||||
memory: 256Mi
|
||||
volumeMounts:
|
||||
- name: decidim-data
|
||||
mountPath: /code/public/uploads
|
||||
@@ -203,8 +203,8 @@ spec:
|
||||
cpu: 1000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 512Mi
|
||||
cpu: 50m
|
||||
memory: 256Mi
|
||||
volumeMounts:
|
||||
- name: decidim-data
|
||||
mountPath: /code/public/uploads
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
version: 0.31.0-1
|
||||
version: 0.31.0-2
|
||||
requires:
|
||||
- name: postgres
|
||||
installed_as: postgres
|
||||
- name: redis
|
||||
installed_as: redis
|
||||
- name: smtp
|
||||
defaultConfig:
|
||||
namespace: decidim
|
||||
externalDnsDomain: '{{ .cloud.domain }}'
|
||||
storage: 20Gi
|
||||
storage: 2Gi
|
||||
systemAdminEmail: '{{ .operator.email }}'
|
||||
siteName: 'Decidim'
|
||||
domain: decidim.{{ .cloud.domain }}
|
||||
@@ -32,10 +30,10 @@ defaultSecrets:
|
||||
- key: systemAdminPassword
|
||||
- key: secretKeyBase
|
||||
default: "{{ random.AlphaNum 128 }}"
|
||||
- key: smtpPassword
|
||||
- key: dbPassword
|
||||
- key: dbUrl
|
||||
default: "postgres://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host }}:{{ .app.db.port }}/{{ .app.db.name }}"
|
||||
requiredSecrets:
|
||||
- postgres.password
|
||||
- redis.password
|
||||
- smtp.password
|
||||
|
||||
Reference in New Issue
Block a user