Merge "[OOF] Add limit to onboard and healthcheck jobs"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 11 Sep 2020 19:15:55 +0000 (19:15 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 11 Sep 2020 19:15:55 +0000 (19:15 +0000)
kubernetes/oof/charts/oof-has/templates/job-healthcheck.yaml
kubernetes/oof/charts/oof-has/templates/job-onboard.yaml

index c006eeb..393a6bb 100755 (executable)
@@ -76,7 +76,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: healthcheck.json
         resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ include "common.resources" . | indent 10 }}
       nodeSelector:
         {{- if .Values.nodeSelector }}
 {{ toYaml .Values.nodeSelector | indent 8 }}
index 22cb5a1..a82435b 100755 (executable)
@@ -81,7 +81,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: onboard.json
         resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ include "common.resources" . | indent 10 }}
       nodeSelector:
         {{- if .Values.nodeSelector }}
 {{ toYaml .Values.nodeSelector | indent 8 }}