From e2a45ef4189af714658f2f2e6b204575a68690d4 Mon Sep 17 00:00:00 2001 From: Christopher Mancini Date: Wed, 25 Feb 2026 14:45:54 -0500 Subject: [PATCH 1/2] feat: add iisConnection override --- charts/nbs6/templates/configmap.yaml | 19 +++++++++++++++++++ charts/nbs6/templates/deployment.yaml | 14 ++++++++++++++ charts/nbs6/values.yaml | 27 +++++++++++++++++++++------ 3 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 charts/nbs6/templates/configmap.yaml diff --git a/charts/nbs6/templates/configmap.yaml b/charts/nbs6/templates/configmap.yaml new file mode 100644 index 000000000..ed1e883b4 --- /dev/null +++ b/charts/nbs6/templates/configmap.yaml @@ -0,0 +1,19 @@ +{{- if .Values.iisConnection.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ .Release.Name }}-iisconnection + namespace: {{ .Release.Namespace }} +data: + iisconnection.txt: | + Connection + Label:{{ .Values.iisConnection.label }} + Type:{{ .Values.iisConnection.type }} + URL:{{ .Values.iisConnection.url }} + User Id:{{ .Values.iisConnection.userId }} + Password:{{ .Values.iisConnection.password }} + Facility Id:{{ .Values.iisConnection.facilityId }} + Other Id:{{ .Values.iisConnection.otherId }} + Transfer Type:{{ .Values.iisConnection.transferType }} + Custom Transformation:{{ .Values.iisConnection.customTransformation }} +{{- end }} diff --git a/charts/nbs6/templates/deployment.yaml b/charts/nbs6/templates/deployment.yaml index 19204c307..6bb06699f 100644 --- a/charts/nbs6/templates/deployment.yaml +++ b/charts/nbs6/templates/deployment.yaml @@ -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: @@ -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 }} diff --git a/charts/nbs6/values.yaml b/charts/nbs6/values.yaml index c44739749..ab424ce17 100644 --- a/charts/nbs6/values.yaml +++ b/charts/nbs6/values.yaml @@ -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: @@ -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: "" @@ -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" @@ -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; @@ -95,4 +95,19 @@ probes: readiness: enabled: true liveness: - enabled: true \ No newline at end of file + 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 +iisConnection: + enabled: false + label: "" + type: "" + url: "" + userId: "" + password: "" + facilityId: "" + otherId: "" + transferType: "" + customTransformation: "" From 98d64386d7853625e426cdab7f2f731203a64ea0 Mon Sep 17 00:00:00 2001 From: Christopher Mancini Date: Wed, 25 Feb 2026 14:53:27 -0500 Subject: [PATCH 2/2] feat: tweak it to use multiline payload --- charts/nbs6/templates/configmap.yaml | 11 +---------- charts/nbs6/values.yaml | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/charts/nbs6/templates/configmap.yaml b/charts/nbs6/templates/configmap.yaml index ed1e883b4..a16239f11 100644 --- a/charts/nbs6/templates/configmap.yaml +++ b/charts/nbs6/templates/configmap.yaml @@ -6,14 +6,5 @@ metadata: namespace: {{ .Release.Namespace }} data: iisconnection.txt: | - Connection - Label:{{ .Values.iisConnection.label }} - Type:{{ .Values.iisConnection.type }} - URL:{{ .Values.iisConnection.url }} - User Id:{{ .Values.iisConnection.userId }} - Password:{{ .Values.iisConnection.password }} - Facility Id:{{ .Values.iisConnection.facilityId }} - Other Id:{{ .Values.iisConnection.otherId }} - Transfer Type:{{ .Values.iisConnection.transferType }} - Custom Transformation:{{ .Values.iisConnection.customTransformation }} +{{ .Values.iisConnection.content | indent 4 }} {{- end }} diff --git a/charts/nbs6/values.yaml b/charts/nbs6/values.yaml index ab424ce17..d16bbed7c 100644 --- a/charts/nbs6/values.yaml +++ b/charts/nbs6/values.yaml @@ -100,14 +100,17 @@ probes: # 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 - label: "" - type: "" - url: "" - userId: "" - password: "" - facilityId: "" - otherId: "" - transferType: "" - customTransformation: "" + content: | + Connection + Label: + Type: + URL: + User Id: + Password: + Facility Id: + Other Id: + Transfer Type: + Custom Transformation: