[POLICY] certInit support + refactoring
[oom.git] / kubernetes / policy / components / policy-nexus / templates / deployment.yaml
old mode 100644 (file)
new mode 100755 (executable)
similarity index 93%
rename from kubernetes/policy/charts/drools/charts/nexus/templates/deployment.yaml
rename to kubernetes/policy/components/policy-nexus/templates/deployment.yaml
index 3c2aa0e..95b4cb1
@@ -1,5 +1,5 @@
 # Copyright © 2017 Amdocs, Bell Canada
-# Modifications Copyright © 2018 AT&T
+# Modifications Copyright © 2018-2020 AT&T Intellectual Property
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -68,7 +68,11 @@ spec:
           - mountPath: /sonatype-work
             name: nexus-data
           resources:
-{{ include "common.resources" . | indent 12 }}
+{{- if eq .Values.resources.flavor "large" }}
+{{ toYaml .Values.resources.large | indent 12 }}
+{{- else }}
+{{ toYaml .Values.resources.small | indent 12 }}
+{{- end -}}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}