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,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