Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions charts/nbs6/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{- if .Values.iisConnection.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-iisconnection
namespace: {{ .Release.Namespace }}
data:
iisconnection.txt: |
{{ .Values.iisConnection.content | indent 4 }}
{{- end }}
14 changes: 14 additions & 0 deletions charts/nbs6/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ spec:
resources:
{{- toYaml .Values.resources | nindent 12 }}

{{- if .Values.iisConnection.enabled }}
volumeMounts:
- name: iisconnection-volume
mountPath: wildfly-10.0.0.Final\nedssodmain\Nedss\Properties\iisconnection.txt
subPath: iisconnection.txt
{{- end }}

{{- if .Values.probes.readiness.enabled | default "true" }}
readinessProbe:
httpGet:
Expand All @@ -50,3 +57,10 @@ spec:
periodSeconds: {{ .Values.probes.liveness.periodSeconds | default "60" }}
failureThreshold: {{ .Values.probes.liveness.failureThreshold | default "5" }}
{{- end }}

{{- if .Values.iisConnection.enabled }}
volumes:
- name: iisconnection-volume
configMap:
name: {{ .Release.Name }}-iisconnection
{{- end }}
30 changes: 24 additions & 6 deletions charts/nbs6/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ingress:
nginx.ingress.kubernetes.io/service-upstream: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Frame-Options: Allow";
more_set_headers "Cross-Origin-Opener-Policy: same-origin";
more_set_headers "Cross-Origin-Opener-Policy: same-origin";
tls:
- secretName: app-classic.example.com
hosts:
Expand Down Expand Up @@ -52,10 +52,10 @@ ingress:

resources:
requests:
memory: "15Gi"
memory: "15Gi"
limits:
memory: "15Gi"

env:
# Endpoint connection for database containing the endpoint only (e.g. dbendpointurl.com)
DATABASE_ENDPOINT: ""
Expand All @@ -70,7 +70,7 @@ env:
srte_user: ""
srte_pass: ""
# Comma Separated list of tasks to be disabled.
# Available tasks to disable: ELRImporter.bat, MsgOutProcessor.bat, UserProfileUpdateProcess.bat, SendAlertEMail.bat, DeDuplicationSimilarBatchProcess.bat, covid19ETL.bat
# Available tasks to disable: ELRImporter.bat, MsgOutProcessor.bat, UserProfileUpdateProcess.bat, SendAlertEMail.bat, DeDuplicationSimilarBatchProcess.bat, covid19ETL.bat
DISABLED_SCHEDULED_TASKS: "SendAlertEMail.bat, DeDuplicationSimilarBatchProcess.bat, UserProfileUpdateProcess.bat"
# Memory allocated to JVM, needs to be offset from container requests by 4g-8g or more
JAVA_MEMORY: "10g"
Expand All @@ -82,7 +82,7 @@ env:
NNDM_CONFIG_CERTIFICATE_URL: "CERTIFICATE_URL="


# Additional environment variables with names starting with updateScheduledTask_ are available to update
# Additional environment variables with names starting with updateScheduledTask_ are available to update
# existing scheduled task. (e.g. updateScheduledTask_ELRImporter)
# Format is csv that contains values correspond to columns: filename, scriptPathFromWorkDir, dailyStartTime, dailyStopTime, frequencyDays, frequencyHours, frequencyMinutes;
## If a column contains an empty value you should include that like (note trailing semicolon): ELRImporter.bat,, 6:00:00am, 6:00:00pm, 0, 0, 2;
Expand All @@ -95,4 +95,22 @@ probes:
readiness:
enabled: true
liveness:
enabled: true
enabled: true

# IIS Connection Configuration
# Set enabled to true to mount a custom iisconnection.txt file
# This will override the default file in the container
# Customize the content field with your specific configuration
iisConnection:
enabled: false
content: |
Connection
Label:
Type:
URL:
User Id:
Password:
Facility Id:
Other Id:
Transfer Type:
Custom Transformation:
Loading