This commit is contained in:
Zeeshaun
2026-03-13 09:24:21 -05:00
parent c2d6bda458
commit 256f579489
282 changed files with 50136 additions and 0 deletions
@@ -0,0 +1,15 @@
{
"DocumentIngestorApiConfiguration": {
"Url": "https://prd-document-ingestor-historical-api.apps.azure.lcu-internal.com",
"Scope": "api://2daa775f-3ad6-43e1-9d12-c4708f51d1cb/user.groups"
},
"FileOperationsApiConfiguration": {
"Url": "https://fileoperationsapi2.lcu-internal.com"
},
"DocumentTypeRetrieverApiConfiguration": {
"Scope": "api://e13f2aea-c4f4-4b4d-8e63-8f160901f599/user.groups"
},
"DocumentTypeUploaderApiConfiguration": {
"Scope": "api://857d64c8-3342-4965-a4ae-17b77802eab4/user.groups"
}
}
@@ -0,0 +1,40 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
#Test istio process
namePrefix: historical-
configMapGenerator:
- name: document-manager-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: document-manager-appsettings
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: volume-appsettings
mountPath: /app/config/workload-appsettings