commit | 153927354cc586a99beb8180bb2eb4e10e8a3355 | [log] [tgz] |
---|---|---|
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | Thu Oct 22 09:49:54 2020 +0200 |
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | Mon Nov 02 07:23:00 2020 +0000 |
tree | 3dc6ba55ee7c57b86c2b90308f8a72b3fb5576ab | |
parent | 132fd4f59c99986560bc4588ffd51bcb63bcd2e2 [diff] [blame] |
[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
diff --git a/kubernetes/contrib/components/ejbca/templates/deployment.yaml b/kubernetes/contrib/components/ejbca/templates/deployment.yaml index 3034366..55de54f 100644 --- a/kubernetes/contrib/components/ejbca/templates/deployment.yaml +++ b/kubernetes/contrib/components/ejbca/templates/deployment.yaml
@@ -89,6 +89,7 @@ {{- if .Values.affinity }} affinity: {{ toYaml .Values.affinity | nindent 10 }} {{- end }} + resources: {{ include "common.resources" . | nindent 10 }} volumes: - configMap: name: "{{ include "common.fullname" . }}-config-script"