Allow ingress annotations to be specified via values.yaml

This commit is contained in:
Olu Shiyanbade
2022-07-25 18:12:53 +01:00
parent 33d4ca303b
commit 4f28ab49dc
3 changed files with 21 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ metadata:
labels:
app: nxrm
spec:
replicas: 1
replicas: {{ .Values.deployment.replicaCount }}
selector:
matchLabels:
app: nxrm
@@ -74,7 +74,9 @@ spec:
-Dnexus.datastore.enabled=true -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs \
-Dnexus.datastore.nexus.jdbcUrl=jdbc:postgresql://${DB_HOST}:{{ .Values.deployment.container.env.nexusDBPort }}/${DB_NAME} \
-Dnexus.datastore.nexus.username=${DB_USER} \
-Dnexus.datastore.nexus.password=${DB_PASSWORD}"
-Dnexus.datastore.nexus.password=${DB_PASSWORD}
-Dnexus.datastore.clustered.enabled={{ .Values.deployment.clustered }} \
-Dnexus.jwt.enabled={{ .Values.deployment.jwtenabled }}"
volumeMounts:
- mountPath: /nxrm-secrets
name: nxrm-secrets