Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[POLICY] certInit support + refactoring
[oom.git]
/
kubernetes
/
policy
/
components
/
policy-nexus
/
templates
/
deployment.yaml
diff --git
a/kubernetes/policy/charts/drools/charts/nexus/templates/deployment.yaml
b/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
--- a/
kubernetes/policy/charts/drools/charts/nexus/templates/deployment.yaml
+++ b/
kubernetes/policy/components/policy-nexus/templates/deployment.yaml
@@
-1,5
+1,5
@@
# Copyright © 2017 Amdocs, Bell Canada
# 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.
#
# 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:
- 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 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}