Adding
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"Primary": {
|
||||
"AppName": "Member Preferences Api",
|
||||
"SeqUrl": "https://seq.lcu-internal.com",
|
||||
"FeatureGates": {
|
||||
"EnableControllers": true,
|
||||
"BounceBackNotifications": false
|
||||
}
|
||||
},
|
||||
"ApiHealthCheckConfiguration": {
|
||||
"VaultStatusConfiguration": {
|
||||
"RunVaultStatusCheck": true,
|
||||
"EnvironmentFromConfigmap": "PROD"
|
||||
}
|
||||
},
|
||||
"SqlConnectionConfiguration": {
|
||||
"MaxRetryCount": 3,
|
||||
"MaxRetryDelay": "00:00:30"
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://prd-notifications-api.apps.azure.lcu-internal.com/api/",
|
||||
"DNACoreErrorEmailList": [ "[email protected]", "[email protected]" ],
|
||||
"TestEmailList": [],
|
||||
"ShouldSendRealEmails": true
|
||||
},
|
||||
"FileOperationsApiConfiguration": {
|
||||
"Url": "https://fileoperationsapi.lcu-internal.com/api/"
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://prd-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ScanBiCoreApiWrapperConfiguration": {
|
||||
"ScanBiCoreApiWrapperUrl": "https://prd-scanbi-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration": {
|
||||
"HostUrl": "rabbitmq.lcu-internal.com"
|
||||
},
|
||||
"ApiSecurityConfiguration": {
|
||||
"ApiKeyAuthenticationFailureBehavior": "Error"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
patchesStrategicMerge:
|
||||
- set_appsettings_deployment.yaml
|
||||
- set_secrets_provider_class.yaml
|
||||
images:
|
||||
- name: member-preferences-api
|
||||
newName: landmarkcu/lcu.api.internal.memberpreferences-memberpreferences
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: member-preferences-api
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: member-preferences-api
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Production"
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
---
|
||||
apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||
kind: SecretProviderClass
|
||||
metadata:
|
||||
name: member-preferences-api-csi-key-vault-secrets-provider
|
||||
spec:
|
||||
parameters:
|
||||
userAssignedIdentityID: 9eaefc49-e5d3-48d4-a2b9-b42cf2d8ca03
|
||||
keyvaultName: kv-lz-apps-prod-uscz
|
||||
+10
@@ -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
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Production"
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
- op: add
|
||||
path: /spec/parameters/userAssignedIdentityID
|
||||
value: 9eaefc49-e5d3-48d4-a2b9-b42cf2d8ca03
|
||||
|
||||
- op: add
|
||||
path: /spec/parameters/keyvaultName
|
||||
value: kv-lz-apps-prod-uscz
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
|
||||
components:
|
||||
- ../component
|
||||
- ../../../components/keyvaults/normal
|
||||
- ../../../components/workloads/dna-audit
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: VirtualService
|
||||
path: set_virtual_service.yaml
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
- op: add
|
||||
path: /spec/hosts/-
|
||||
value: prd-member-preferences-dna-audit-api.apps.azure.lcu-internal.com
|
||||
@@ -1,2 +1,16 @@
|
||||
resources:
|
||||
- normal
|
||||
- dna-audit
|
||||
- xdi-batch
|
||||
|
||||
configMapGenerator:
|
||||
- name: member-preferences-api-environment-appsettings
|
||||
files:
|
||||
- appsettings/appsettings.json
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: Deployment
|
||||
path: set_configmap_deployment.yaml
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: memberpreferencesapi-configmap
|
||||
data:
|
||||
primary.json: |
|
||||
{
|
||||
"Primary": {
|
||||
"AppName": "Member Preferences Api",
|
||||
"SeqUrl": "https://seq.lcu-internal.com",
|
||||
"XdiBatchProcessCronSchedule": "1 * * * *",
|
||||
"DnaDataAuditProcessCronSchedule": "*/5 3-19 * * *",
|
||||
"FeatureFlags": {
|
||||
"RunHostedServices": true,
|
||||
"RunXdiBatchProcessConsumer": true,
|
||||
"RunXdiSshResponseConsumer": true,
|
||||
"RunAccountDnaFieldChangeConsumer": true,
|
||||
"RunAgreementDnaFieldChangeConsumer": true,
|
||||
"RunOrganizationDnaFieldChangeConsumer": true
|
||||
},
|
||||
"FeatureGates": {
|
||||
"EnableControllers": true,
|
||||
"BounceBackNotifications": false
|
||||
}
|
||||
},
|
||||
"ApiHealthCheckConfiguration": {
|
||||
"VaultStatusConfiguration": {
|
||||
"RunVaultStatusCheck": true,
|
||||
"EnvironmentFromConfigmap": "PROD"
|
||||
}
|
||||
},
|
||||
"SqlConnectionConfiguration": {
|
||||
"MaxRetryCount": 3,
|
||||
"MaxRetryDelay": "00:00:30"
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://notificationsapi.lcu-internal.com/api/",
|
||||
"DNACoreErrorEmailList": [ "[email protected]", "[email protected]" ],
|
||||
"TestEmailList": [],
|
||||
"ShouldSendRealEmails": true
|
||||
},
|
||||
"FtpApiConfiguration": {
|
||||
"Url": "https://ftpapi.lcu-internal.com/"
|
||||
},
|
||||
"XdiSftpApiConfiguration": {
|
||||
"HostName": "sftp.xdi.com",
|
||||
"PortNumber": 22,
|
||||
"SftpRootBasePath": ""
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://prd-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration": {
|
||||
"HostUrl": "rabbitmq.lcu-internal.com"
|
||||
},
|
||||
"DnaAuditProcessConfiguration": {
|
||||
"LookBackMinutes": -5,
|
||||
"NumberOfAllowedConsecutiveFailures": 12
|
||||
},
|
||||
"ApiSecurityConfiguration": {
|
||||
"ApiKeyAuthenticationFailureBehavior": "Error"
|
||||
}
|
||||
}
|
||||
+11
-4
@@ -1,5 +1,12 @@
|
||||
resources:
|
||||
- configmap.yaml
|
||||
- ../common
|
||||
patchesStrategicMerge:
|
||||
- set_virtual_service.yaml
|
||||
- ../../../base
|
||||
|
||||
components:
|
||||
- ../component
|
||||
- ../../../components/keyvaults/normal
|
||||
- ../../../components/workloads/normal
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: VirtualService
|
||||
path: set_virtual_service.yaml
|
||||
+3
-8
@@ -1,8 +1,3 @@
|
||||
---
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: member-preferences-api
|
||||
spec:
|
||||
hosts:
|
||||
- prd-member-preferences-api.apps.azure.lcu-internal.com
|
||||
- op: add
|
||||
path: /spec/hosts/-
|
||||
value: prd-member-preferences-api.apps.azure.lcu-internal.com
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: volume-environment-appsettings
|
||||
configMap:
|
||||
name: member-preferences-api-environment-appsettings
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: volume-environment-appsettings
|
||||
mountPath: /app/config/environment-appsettings
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
|
||||
components:
|
||||
- ../component
|
||||
- ../../../components/keyvaults/normal
|
||||
- ../../../components/workloads/xdi-batch
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: VirtualService
|
||||
path: set_virtual_service.yaml
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
- op: add
|
||||
path: /spec/hosts/-
|
||||
value: prd-member-preferences-xdi-batch-api.apps.azure.lcu-internal.com
|
||||
Reference in New Issue
Block a user