This commit is contained in:
Zeeshaun
2026-03-24 15:26:03 -05:00
parent 1e5beb292a
commit 9cc87337b8
333 changed files with 17931 additions and 0 deletions
@@ -0,0 +1,44 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: dispatcher-api
spec:
replicas: 1
selector:
matchLabels:
app: dispatcher-api
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: dispatcher-api
spec:
volumes: []
containers:
- name: dispatcher-api
env: []
volumeMounts: []
image: dispatcher-api
resources:
limits:
memory: "1536Mi"
cpu: "500m"
ports:
- containerPort: 8080
livenessProbe:
initialDelaySeconds: 5
periodSeconds: 5
httpGet:
path: /api/status
port: 8080
readinessProbe:
initialDelaySeconds: 5
periodSeconds: 5
httpGet:
path: /api/status
port: 8080
@@ -0,0 +1,11 @@
---
apiVersion: v1
kind: Service
metadata:
name: dispatcher-api
spec:
selector:
app: dispatcher-api
ports:
- port: 8080
targetPort: 8080
@@ -0,0 +1,9 @@
resources:
- Deployment.yaml
- Service.yaml
- virtual-service.yaml
- secrets-provider-class.yaml
images:
- name: dispatcher-api
newName: landmarkcu/lcu.api.internal.dispatcher-dispatcher
@@ -0,0 +1,12 @@
---
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: dispatcher-api-csi-key-vault-secrets-provider
spec:
provider: azure
parameters:
usePodIdentity: "false"
useVMManagedIdentity: "true"
tenantId: 63cd1554-2783-4a86-ae50-b9e6c21c9499
@@ -0,0 +1,19 @@
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: dispatcher-api
spec:
hosts: []
gateways:
- istio-system/ingress-gateway
http:
- name: dispatcher-api
match:
- uri:
prefix: /
route:
- destination:
host: dispatcher-api
port:
number: 8080
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- target:
kind: Deployment
path: set_secrets_deployment.yaml
- target:
kind: SecretProviderClass
path: set_secrets_provider.yaml
@@ -0,0 +1,49 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: dispatcher-api-secrets
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: dispatcher-api-csi-key-vault-secrets-provider
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-database-connection.json
readOnly: true
subPath: dispatcher-api-database-connection
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-seq-api-key.json
readOnly: true
subPath: dispatcher-api-seq-api-key
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-rabbitmq-username.json
readOnly: true
subPath: dispatcher-api-rabbitmq-username
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-rabbitmq-password.json
readOnly: true
subPath: dispatcher-api-rabbitmq-password
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: dispatcher-api-secrets
mountPath: /vault/secrets/dispatcher-api-external-api-key-set.json
readOnly: true
subPath: dispatcher-api-external-api-key-set
@@ -0,0 +1,24 @@
- op: add
path: /spec/parameters/objects
value: |
array:
- |
objectName: dispatcher-api-database-connection
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-seq-api-key
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-rabbitmq-username
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-rabbitmq-password
objectType: secret
objectVersion: ""
- |
objectName: dispatcher-api-external-api-key-set
objectType: secret
objectVersion: ""
@@ -0,0 +1,14 @@
{
"Primary": {
"FeatureFlags": {
"RunBatchErroredJobsHostedService": false,
"RunCleanUpJobsHostedService": false,
"RunCompletionConsumer": true,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": false,
"RunJobFailureConsumer": false,
"RunSendErroredJobAlertConsumer": false
}
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: completion-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,14 @@
{
"Primary": {
"FeatureFlags": {
"RunBatchErroredJobsHostedService": false,
"RunCleanUpJobsHostedService": false,
"RunCompletionConsumer": false,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": true,
"RunJobFailureConsumer": false,
"RunSendErroredJobAlertConsumer": false
}
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: determine-operation-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,14 @@
{
"Primary": {
"FeatureFlags": {
"RunBatchErroredJobsHostedService": false,
"RunCleanUpJobsHostedService": false,
"RunCompletionConsumer": false,
"RunExecutionConsumer": true,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": false,
"RunJobFailureConsumer": false,
"RunSendErroredJobAlertConsumer": false
}
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: execution-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,14 @@
{
"Primary": {
"FeatureFlags": {
"RunBatchErroredJobsHostedService": false,
"RunCleanUpJobsHostedService": false,
"RunCompletionConsumer": false,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": false,
"RunJobFailureConsumer": true,
"RunSendErroredJobAlertConsumer": false
}
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: job-failure-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,15 @@
{
"Primary": {
"DefaultDelayMilliseconds": 2000,
"FeatureFlags": {
"RunBatchErroredJobsHostedService": false,
"RunCleanUpJobsHostedService": false,
"RunCompletionConsumer": false,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": true,
"RunDetermineOperationConsumer": false,
"RunJobFailureConsumer": false,
"RunSendErroredJobAlertConsumer": false
}
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: job-scheduler-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,22 @@
{
"Primary": {
"BatchErroredJobsCronSchedule": "0 7-19 * * *",
"CleanUpJobsCronSchedule": "00 22 * * *",
"CleanUpJobsDaysToDelete": -30,
"FeatureFlags": {
"RunBatchErroredJobsHostedService": true,
"RunCleanUpJobsHostedService": true,
"RunCompletionConsumer": false,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": false,
"RunJobFailureConsumer": false,
"RunSendErroredJobAlertConsumer": false
},
"JobStatusesToMonitorByTimeLimit": [
"Processing",
"DeterminingOperation",
"PendingToRun"
]
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: normal-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,14 @@
{
"Primary": {
"FeatureFlags": {
"RunBatchErroredJobsHostedService": false,
"RunCleanUpJobsHostedService": false,
"RunCompletionConsumer": false,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": false,
"RunJobFailureConsumer": false,
"RunSendErroredJobAlertConsumer": true
}
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: send-errored-job-alert-
configMapGenerator:
- name: dispatcher-api-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
replacements:
- source:
kind: Deployment
fieldPath: metadata.name
targets:
- select:
kind: Deployment
fieldPaths:
- spec.selector.matchLabels.app
- spec.template.metadata.labels.app
- spec.template.spec.containers.*.name
- select:
kind: Service
fieldPaths:
- spec.selector.app
- select:
kind: VirtualService
fieldPaths:
- spec.http.*.route.*.destination.host
- spec.http.*.name
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-appsettings
configMap:
name: dispatcher-api-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings
@@ -0,0 +1,8 @@
resources:
- ../../../base
patchesStrategicMerge:
- set_appsettings_deployment.yaml
- set_secrets_provider_class.yaml
images:
- name: dispatcher-api
newName: landmarkcu/lcu.api.internal.dispatcher-dispatcher
@@ -0,0 +1,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dispatcher-api
spec:
template:
spec:
containers:
- name: dispatcher-api
env:
- name: ASPNETCORE_ENVIRONMENT
value: "Development"
@@ -0,0 +1,9 @@
---
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: dispatcher-api-csi-key-vault-secrets-provider
spec:
parameters:
userAssignedIdentityID: 3286ed9a-f85c-4c50-b742-dbd3c1c3fe1f
keyvaultName: kv-lz-apps-qa-uscz
@@ -0,0 +1,2 @@
resources:
- normal
@@ -0,0 +1,89 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: dispatcherapi-configmap
data:
primary.json: |
{
"Primary": {
"SeqUrl": "https://qa-seq.lcu-internal.com",
"CorsAllowedOrigins": [
"http://localhost:3000",
"http://lcu-internal.com",
"https://lcu-internal.com",
"https://qa-api.lcu-internal.com",
"https://uat-api.lcu-internal.com",
"https://api.lcu-internal.com"
],
"ErrorMonitoringCronSchedule": "0 7-19 * * *",
"CleanUpJobsCronSchedule": "00 22 * * *",
"CleanUpJobsDaysToDelete": -30,
"FeatureFlags": {
"RunErrorMonitoringHostedService": true,
"RunCleanUpJobsHostedService": true,
"RunCompletionConsumer": false,
"RunExecutionConsumer": false,
"RunJobSchedulerHostedService": false,
"RunDetermineOperationConsumer": true,
"RunJobFailureConsumer": true,
"RunSendErroredJobAlertConsumer": true
}
},
"FileOperationsApiConfiguration": {
"Url": "https://qa-fileoperationsapi.lcu-internal.com"
},
"FtpApiConfiguration": {
"Url": "https://qa-ftpapi.lcu-internal.com"
},
"NotificationApiConfiguration": {
"Url": "https://qa-notificationsapi.lcu-internal.com"
},
"ArchiverApiConfiguration": {
"Url": "https://qa-archiver-api.apps.azure.lcu-internal.com"
},
"BlendApiConfiguration": {
"Url": "https://qa-blend-api-wrapper-api.apps.azure.lcu-internal.com"
},
"DialerApiConfiguration": {
"Url": "https://qa-dialer-api.apps.azure.lcu-internal.com"
},
"DocumentIngestorApiConfiguration": {
"Url": "https://qa-document-ingestor-api.apps.azure.lcu-internal.com"
},
"DocumentTypeCleanupApiConfiguration": {
"Url": "https://qa-document-type-cleanup-api.apps.azure.lcu-internal.com"
},
"HistoricalDocumentIngestorApiConfiguration": {
"Url": "https://qa-document-ingestor-historical-api.apps.azure.lcu-internal.com"
},
"RemoteDepositCaptureApiConfiguration": {
"Url": "https://qa-remote-deposit-capture-api.apps.azure.lcu-internal.com"
},
"DataCleanUpApiConfiguration": {
"Url": "https://qa-data-clean-up-api.apps.azure.lcu-internal.com"
},
"NoticeProcessorApiConfiguration": {
"Url": "https://qa-notice-processor-api.apps.azure.lcu-internal.com"
},
"MomBotApiConfiguration": {
"Url": "https://qa-mombotapi.lcu-internal.com"
},
"RealTimeAlertsApiConfiguration": {
"Url": "https://qa-real-time-alerts-api.apps.azure.lcu-internal.com"
},
"DispatcherRequestBuilderConfiguration": {
"Url": "https://qa-dispatcherapi.lcu-internal.com/api/Ingestion"
},
"ConnectionConfiguration": {
"HostUrl": "d1msg01q.lcu-internal.com"
},
"IncentiveManagerConfiguration": {
"Url": "https://qa-incentive-manager-api.apps.azure.lcu-internal.com/api"
},
"FileUpdaterApiConfiguration": {
"Url": "https://qa-file-updater-api.apps.azure.lcu-internal.com"
},
"TemenosNotificationApiConfiguration": {
"Url": "https://qa-temenos-notification-api.apps.azure.lcu-internal.com"
}
}
@@ -0,0 +1,5 @@
resources:
- configmap.yaml
- ../common
patchesStrategicMerge:
- set_virtual_service.yaml
@@ -0,0 +1,8 @@
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: dispatcher-api
spec:
hosts:
- qa-dispatcher-api.apps.azure.lcu-internal.com
@@ -0,0 +1,72 @@
{
"Primary": {
"SeqUrl": "https://seq.lcu-internal.com",
"CorsAllowedOrigins": [
"http://localhost:3000",
"http://lcu-internal.com",
"https://lcu-internal.com",
"https://api.lcu-internal.com"
],
"DefaultErrorRecipient": "[email protected]"
},
"FileOperationsApiConfiguration": {
"Url": "https://fileoperationsapi.lcu-internal.com"
},
"FtpApiConfiguration": {
"Url": "https://ftpapi.lcu-internal.com"
},
"NotificationApiConfiguration": {
"Url": "https://prd-notifications-api.apps.azure.lcu-internal.com"
},
"ArchiverApiConfiguration": {
"Url": "https://prd-archiver-api.apps.azure.lcu-internal.com"
},
"BlendApiConfiguration": {
"Url": "https://prd-blend-api-wrapper-api.apps.azure.lcu-internal.com"
},
"DialerApiConfiguration": {
"Url": "https://prd-dialer-api.apps.azure.lcu-internal.com"
},
"DocumentIngestorApiConfiguration": {
"Url": "https://prd-document-ingestor-api.apps.azure.lcu-internal.com"
},
"DocumentTypeCleanupApiConfiguration": {
"Url": "https://prd-document-type-cleanup-api.apps.azure.lcu-internal.com"
},
"HistoricalDocumentIngestorApiConfiguration": {
"Url": "https://prd-document-ingestor-historical-api.apps.azure.lcu-internal.com"
},
"RemoteDepositCaptureApiConfiguration": {
"Url": "https://prd-remote-deposit-capture-api.apps.azure.lcu-internal.com"
},
"DataCleanUpApiConfiguration": {
"Url": "https://prd-data-clean-up-api.apps.azure.lcu-internal.com"
},
"NoticeProcessorApiConfiguration": {
"Url": "https://prd-notice-processor-api.apps.azure.lcu-internal.com"
},
"MomBotApiConfiguration": {
"Url": "https://mombotapi.lcu-internal.com"
},
"RealTimeAlertsApiConfiguration": {
"Url": "https://prd-real-time-alerts-api.apps.azure.lcu-internal.com"
},
"DispatcherRequestBuilderConfiguration": {
"Url": "https://dispatcherapi.lcu-internal.com/api/Ingestion"
},
"ConnectionConfiguration": {
"HostUrl": "rabbitmq.lcu-internal.com"
},
"IncentiveManagerConfiguration": {
"Url": "https://prd-incentive-manager-api.apps.azure.lcu-internal.com/api"
},
"FileUpdaterApiConfiguration": {
"Url": "https://prd-file-updater-api.apps.azure.lcu-internal.com"
},
"TemenosNotificationApiConfiguration": {
"Url": "https://prd-temenos-notification-api.apps.azure.lcu-internal.com"
},
"RepoApiConfiguration": {
"Url": "https://prd-repo-api.apps.azure.lcu-internal.com"
}
}
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/completion
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-completion-api.apps.azure.lcu-internal.com
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
- target:
kind: SecretProviderClass
path: set_secrets_provider_class.yaml
@@ -0,0 +1,5 @@
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: ASPNETCORE_ENVIRONMENT
value: "Production"
@@ -0,0 +1,7 @@
- op: add
path: /spec/parameters/userAssignedIdentityID
value: 3286ed9a-f85c-4c50-b742-dbd3c1c3fe1f
- op: add
path: /spec/parameters/keyvaultName
value: kv-lz-apps-qa-uscz
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/determine-operation
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-determine-operation-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/execution
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-execution-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/job-failure
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-job-failure-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/job-scheduler
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-job-scheduler-api.apps.azure.lcu-internal.com
@@ -0,0 +1,20 @@
resources:
- normal
- completion
- determine-operation
- execution
- job-failure
- job-scheduler
- send-errored-job-alert
configMapGenerator:
- name: dispatcher-api-environment-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_configmap_deployment.yaml
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/normal
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/send-errored-job-alert
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: prd-dispatcher-send-errored-job-alert-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-environment-appsettings
configMap:
name: dispatcher-api-environment-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-environment-appsettings
mountPath: /app/config/environment-appsettings
@@ -0,0 +1,74 @@
{
"Primary": {
"SeqUrl": "https://qa-seq.lcu-internal.com",
"CorsAllowedOrigins": [
"http://localhost:3000",
"http://lcu-internal.com",
"https://lcu-internal.com",
"https://qa-api.lcu-internal.com",
"https://uat-api.lcu-internal.com",
"https://api.lcu-internal.com"
],
"DefaultErrorRecipient": "[email protected]"
},
"FileOperationsApiConfiguration": {
"Url": "https://qa-fileoperationsapi.lcu-internal.com"
},
"FtpApiConfiguration": {
"Url": "https://qa-ftpapi.lcu-internal.com"
},
"NotificationApiConfiguration": {
"Url": "https://qa-notifications-api.apps.azure.lcu-internal.com"
},
"ArchiverApiConfiguration": {
"Url": "https://qa-archiver-api.apps.azure.lcu-internal.com"
},
"BlendApiConfiguration": {
"Url": "https://qa-blend-api-wrapper-api.apps.azure.lcu-internal.com"
},
"DialerApiConfiguration": {
"Url": "https://qa-dialer-api.apps.azure.lcu-internal.com"
},
"DocumentIngestorApiConfiguration": {
"Url": "https://qa-document-ingestor-api.apps.azure.lcu-internal.com"
},
"DocumentTypeCleanupApiConfiguration": {
"Url": "https://qa-document-type-cleanup-api.apps.azure.lcu-internal.com"
},
"HistoricalDocumentIngestorApiConfiguration": {
"Url": "https://qa-document-ingestor-historical-api.apps.azure.lcu-internal.com"
},
"RemoteDepositCaptureApiConfiguration": {
"Url": "https://qa-remote-deposit-capture-api.apps.azure.lcu-internal.com"
},
"DataCleanUpApiConfiguration": {
"Url": "https://qa-data-clean-up-api.apps.azure.lcu-internal.com"
},
"NoticeProcessorApiConfiguration": {
"Url": "https://qa-notice-processor-api.apps.azure.lcu-internal.com"
},
"MomBotApiConfiguration": {
"Url": "https://qa-mombotapi.lcu-internal.com"
},
"RealTimeAlertsApiConfiguration": {
"Url": "https://qa-real-time-alerts-api.apps.azure.lcu-internal.com"
},
"DispatcherRequestBuilderConfiguration": {
"Url": "https://qa-dispatcherapi.lcu-internal.com/api/Ingestion"
},
"ConnectionConfiguration": {
"HostUrl": "qa-rabbitmq.lcu-internal.com"
},
"IncentiveManagerConfiguration": {
"Url": "https://qa-incentive-manager-api.apps.azure.lcu-internal.com/api"
},
"FileUpdaterApiConfiguration": {
"Url": "https://qa-file-updater-api.apps.azure.lcu-internal.com"
},
"TemenosNotificationApiConfiguration": {
"Url": "https://qa-temenos-notification-api.apps.azure.lcu-internal.com"
},
"RepoApiConfiguration": {
"Url": "https://qa-repo-api.apps.azure.lcu-internal.com"
}
}
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/completion
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-completion-api.apps.azure.lcu-internal.com
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
- target:
kind: SecretProviderClass
path: set_secrets_provider_class.yaml
@@ -0,0 +1,5 @@
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: ASPNETCORE_ENVIRONMENT
value: Development
@@ -0,0 +1,7 @@
- op: add
path: /spec/parameters/userAssignedIdentityID
value: 3286ed9a-f85c-4c50-b742-dbd3c1c3fe1f
- op: add
path: /spec/parameters/keyvaultName
value: kv-lz-apps-qa-uscz
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/determine-operation
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-determine-operation-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/execution
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-execution-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/job-failure
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-job-failure-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/job-scheduler
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-job-scheduler-api.apps.azure.lcu-internal.com
@@ -0,0 +1,20 @@
resources:
- normal
- completion
- determine-operation
- execution
- job-failure
- job-scheduler
- send-errored-job-alert
configMapGenerator:
- name: dispatcher-api-environment-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_configmap_deployment.yaml
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/normal
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/send-errored-job-alert
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: qa-dispatcher-send-errored-job-alert-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-environment-appsettings
configMap:
name: dispatcher-api-environment-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-environment-appsettings
mountPath: /app/config/environment-appsettings
@@ -0,0 +1,74 @@
{
"Primary": {
"SeqUrl": "https://uat-seq.lcu-internal.com",
"CorsAllowedOrigins": [
"http://localhost:3000",
"http://lcu-internal.com",
"https://lcu-internal.com",
"https://qa-api.lcu-internal.com",
"https://uat-api.lcu-internal.com",
"https://api.lcu-internal.com"
],
"DefaultErrorRecipient": "[email protected]"
},
"FileOperationsApiConfiguration": {
"Url": "https://uat-fileoperationsapi.lcu-internal.com"
},
"FtpApiConfiguration": {
"Url": "https://uat-ftpapi.lcu-internal.com"
},
"NotificationApiConfiguration": {
"Url": "https://uat-notifications-api.apps.azure.lcu-internal.com"
},
"ArchiverApiConfiguration": {
"Url": "https://uat-archiver-api.apps.azure.lcu-internal.com"
},
"BlendApiConfiguration": {
"Url": "https://uat-blend-api-wrapper-api.apps.azure.lcu-internal.com"
},
"DialerApiConfiguration": {
"Url": "https://uat-dialer-api.apps.azure.lcu-internal.com"
},
"DocumentIngestorApiConfiguration": {
"Url": "https://uat-document-ingestor-api.apps.azure.lcu-internal.com"
},
"DocumentTypeCleanupApiConfiguration": {
"Url": "https://uat-document-type-cleanup-api.apps.azure.lcu-internal.com"
},
"HistoricalDocumentIngestorApiConfiguration": {
"Url": "https://uat-document-ingestor-historical-api.apps.azure.lcu-internal.com"
},
"RemoteDepositCaptureApiConfiguration": {
"Url": "https://uat-remote-deposit-capture-api.apps.azure.lcu-internal.com"
},
"DataCleanUpApiConfiguration": {
"Url": "https://uat-data-clean-up-api.apps.azure.lcu-internal.com"
},
"NoticeProcessorApiConfiguration": {
"Url": "https://uat-notice-processor-api.apps.azure.lcu-internal.com"
},
"MomBotApiConfiguration": {
"Url": "https://uat-mombotapi.lcu-internal.com"
},
"RealTimeAlertsApiConfiguration": {
"Url": "https://uat-real-time-alerts-api.apps.azure.lcu-internal.com"
},
"DispatcherRequestBuilderConfiguration": {
"Url": "https://uat-dispatcherapi.lcu-internal.com/api/Ingestion"
},
"ConnectionConfiguration": {
"HostUrl": "uat-rabbitmq.lcu-internal.com"
},
"IncentiveManagerConfiguration": {
"Url": "https://uat-incentive-manager-api.apps.azure.lcu-internal.com/api"
},
"FileUpdaterApiConfiguration": {
"Url": "https://uat-file-updater-api.apps.azure.lcu-internal.com"
},
"TemenosNotificationApiConfiguration": {
"Url": "https://uat-temenos-notification-api.apps.azure.lcu-internal.com"
},
"RepoApiConfiguration": {
"Url": "https://uat-repo-api.apps.azure.lcu-internal.com"
}
}
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/completion
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-completion-api.apps.azure.lcu-internal.com
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- target:
kind: Deployment
path: set_appsettings_deployment.yaml
- target:
kind: SecretProviderClass
path: set_secrets_provider_class.yaml
@@ -0,0 +1,5 @@
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: ASPNETCORE_ENVIRONMENT
value: "Staging"
@@ -0,0 +1,7 @@
- op: add
path: /spec/parameters/userAssignedIdentityID
value: 3286ed9a-f85c-4c50-b742-dbd3c1c3fe1f
- op: add
path: /spec/parameters/keyvaultName
value: kv-lz-apps-qa-uscz
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/determine-operation
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-determine-operation-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/execution
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-execution-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/job-failure
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-job-failure-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/job-scheduler
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-job-scheduler-api.apps.azure.lcu-internal.com
@@ -0,0 +1,20 @@
resources:
- normal
- completion
- determine-operation
- execution
- job-failure
- job-scheduler
- send-errored-job-alert
configMapGenerator:
- name: dispatcher-api-environment-appsettings
files:
- appsettings/appsettings.json
generatorOptions:
disableNameSuffixHash: true
patches:
- target:
kind: Deployment
path: set_configmap_deployment.yaml
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/normal
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
resources:
- ../../../base
components:
- ../component
- ../../../components/keyvaults/normal
- ../../../components/workloads/send-errored-job-alert
patches:
- target:
kind: VirtualService
path: set_virtual_service.yaml
@@ -0,0 +1,3 @@
- op: add
path: /spec/hosts/-
value: uat-dispatcher-send-errored-job-alert-api.apps.azure.lcu-internal.com
@@ -0,0 +1,12 @@
- op: add
path: /spec/template/spec/volumes/-
value:
name: volume-environment-appsettings
configMap:
name: dispatcher-api-environment-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-environment-appsettings
mountPath: /app/config/environment-appsettings