summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/components/ejbca/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-22 09:49:54 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-02 07:23:00 +0000
commit153927354cc586a99beb8180bb2eb4e10e8a3355 (patch)
tree3dc6ba55ee7c57b86c2b90308f8a72b3fb5576ab /kubernetes/contrib/components/ejbca/templates
parent132fd4f59c99986560bc4588ffd51bcb63bcd2e2 (diff)
[CONTRIB] Add requests/limits to EJBCA
Having limits is important in order to have safe deployment. EJBCA didn't had one so let's add them. Issue-ID: OOM-2230 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I435afa6b0f065a66e180379b267227f4b8766478
Diffstat (limited to 'kubernetes/contrib/components/ejbca/templates')
-rw-r--r--kubernetes/contrib/components/ejbca/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/contrib/components/ejbca/templates/deployment.yaml b/kubernetes/contrib/components/ejbca/templates/deployment.yaml
index 3034366b1a..55de54febf 100644
--- a/kubernetes/contrib/components/ejbca/templates/deployment.yaml
+++ b/kubernetes/contrib/components/ejbca/templates/deployment.yaml
@@ -89,6 +89,7 @@ spec:
{{- if .Values.affinity }}
affinity: {{ toYaml .Values.affinity | nindent 10 }}
{{- end }}
+ resources: {{ include "common.resources" . | nindent 10 }}
volumes:
- configMap:
name: "{{ include "common.fullname" . }}-config-script"