You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by tl...@apache.org on 2021/07/21 21:43:42 UTC
[incubator-sdap-nexus] 06/07: adjust resource settings
This is an automated email from the ASF dual-hosted git repository.
tloubrieu pushed a commit to branch moc_deployment
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit 7a698e7b7d4ff3b234e81b4310fd78a98009583a
Author: thomas loubrieu <th...@jpl.nasa.gov>
AuthorDate: Sun Jul 11 11:45:47 2021 -0700
adjust resource settings
---
helm/templates/_helpers.tpl | 4 ++--
helm/templates/root-webpage.yml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/helm/templates/_helpers.tpl b/helm/templates/_helpers.tpl
index f1cf360..b0b6979 100644
--- a/helm/templates/_helpers.tpl
+++ b/helm/templates/_helpers.tpl
@@ -63,9 +63,9 @@ The data volume mount which is used in both the Collection Manager and the Granu
{{- end -}}
{{- define "nexus.credentials.cassandra.username" -}}
-{{ .Values.external.cassandraUsername | default "cassandra" }}
+{{ .Values.external.cassandraUsername | default (.Values.cassandra.dbUser.user) }}
{{- end -}}
{{- define "nexus.credentials.cassandra.password" -}}
-{{ .Values.external.cassandraPassword | default "cassandra" }}
+{{ .Values.external.cassandraPassword | default (.Values.cassandra.dbUser.password) }}
{{- end -}}
diff --git a/helm/templates/root-webpage.yml b/helm/templates/root-webpage.yml
index baca3a1..f761d8a 100644
--- a/helm/templates/root-webpage.yml
+++ b/helm/templates/root-webpage.yml
@@ -43,8 +43,8 @@ spec:
name: root-webpage
resources:
limits:
- cpu: 0.5
+ cpu: 0.1
requests:
- cpu: 0.3
+ cpu: 0.1
restartPolicy: Always
{{ end }}