Adding
This commit is contained in:
@@ -18,8 +18,11 @@ spec:
|
||||
labels:
|
||||
app: member-preferences-api
|
||||
spec:
|
||||
volumes: []
|
||||
containers:
|
||||
- name: member-preferences-api
|
||||
env: []
|
||||
volumeMounts: []
|
||||
image: member-preferences-api
|
||||
resources:
|
||||
limits:
|
||||
@@ -39,57 +42,4 @@ spec:
|
||||
httpGet:
|
||||
path: /api/status
|
||||
port: 8080
|
||||
volumeMounts:
|
||||
- name: volume-lcu-internal-cert
|
||||
mountPath: /etc/ssl/certs/lcu-internal-cert.pem
|
||||
- name: volume-appsettings
|
||||
mountPath: /app/config/mapped-appsettings
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-member-preferences-api-key.json
|
||||
subPath: member-preferences-api-member-preferences-api-key
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-ftp-fingerprint.json
|
||||
subPath: member-preferences-api-ftp-fingerprint
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-ftp-password.json
|
||||
subPath: member-preferences-api-ftp-password
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-ftp-username.json
|
||||
subPath: member-preferences-api-ftp-username
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-queue-password.json
|
||||
subPath: member-preferences-api-queue-password
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-queue-username.json
|
||||
subPath: member-preferences-api-queue-username
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-db-connection.json
|
||||
subPath: member-preferences-api-db-connection
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-environment-from-vault.json
|
||||
subPath: member-preferences-api-environment-from-vault
|
||||
readOnly: true
|
||||
- name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-seq-api-key.json
|
||||
subPath: member-preferences-api-seq-api-key
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: member-preferences-api-secrets
|
||||
csi:
|
||||
driver: secrets-store.csi.k8s.io
|
||||
readOnly: true
|
||||
volumeAttributes:
|
||||
secretProviderClass: member-preferences-api-csi-key-vault-secrets-provider
|
||||
- name: volume-lcu-internal-cert
|
||||
configMap:
|
||||
name: configmap-lcu-internal-cert
|
||||
- name: volume-appsettings
|
||||
configMap:
|
||||
name: memberpreferencesapi-configmap
|
||||
|
||||
@@ -3,3 +3,7 @@ resources:
|
||||
- Service.yaml
|
||||
- virtual-service.yaml
|
||||
- secrets-provider-class.yaml
|
||||
|
||||
images:
|
||||
- name: member-preferences-api
|
||||
newName: landmarkcu/lcu.api.internal.memberpreferences-memberpreferences
|
||||
@@ -9,41 +9,4 @@ spec:
|
||||
usePodIdentity: "false"
|
||||
useVMManagedIdentity: "true"
|
||||
tenantId: 63cd1554-2783-4a86-ae50-b9e6c21c9499
|
||||
objects: |
|
||||
array:
|
||||
- |
|
||||
objectName: member-preferences-api-seq-api-key
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-environment-from-vault
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-db-connection
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-queue-username
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-queue-password
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-ftp-username
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-ftp-password
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-ftp-fingerprint
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-member-preferences-api-key
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
|
||||
@@ -4,6 +4,7 @@ kind: VirtualService
|
||||
metadata:
|
||||
name: member-preferences-api
|
||||
spec:
|
||||
hosts: []
|
||||
gateways:
|
||||
- istio-system/ingress-gateway
|
||||
http:
|
||||
|
||||
+10
@@ -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
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
csi:
|
||||
driver: secrets-store.csi.k8s.io
|
||||
readOnly: true
|
||||
volumeAttributes:
|
||||
secretProviderClass: member-preferences-api-csi-key-vault-secrets-provider
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-member-preferences-api-key.json
|
||||
readOnly: true
|
||||
subPath: member-preferences-api-member-preferences-api-key
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-queue-password.json
|
||||
readOnly: true
|
||||
subPath: member-preferences-api-queue-password
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-queue-username.json
|
||||
readOnly: true
|
||||
subPath: member-preferences-api-queue-username
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-db-connection.json
|
||||
readOnly: true
|
||||
subPath: member-preferences-api-db-connection
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-environment-from-vault.json
|
||||
readOnly: true
|
||||
subPath: member-preferences-api-environment-from-vault
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: member-preferences-api-secrets
|
||||
mountPath: /vault/secrets/member-preferences-api-seq-api-key.json
|
||||
readOnly: true
|
||||
subPath: member-preferences-api-seq-api-key
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
- op: add
|
||||
path: /spec/parameters/objects
|
||||
value: |
|
||||
array:
|
||||
- |
|
||||
objectName: member-preferences-api-member-preferences-api-key
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-queue-password
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-queue-username
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-db-connection
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-environment-from-vault
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
- |
|
||||
objectName: member-preferences-api-seq-api-key
|
||||
objectType: secret
|
||||
objectVersion: ""
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Primary": {
|
||||
"FeatureFlags": {
|
||||
"RunXdiBatchProcessConsumer": false,
|
||||
"RunDnaAuditProcessConsumer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
|
||||
#Test istio process
|
||||
namePrefix: dna-audit-
|
||||
|
||||
configMapGenerator:
|
||||
- name: member-preferences-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
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: volume-appsettings
|
||||
configMap:
|
||||
name: member-preferences-api-appsettings
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: volume-appsettings
|
||||
mountPath: /app/config/workload-appsettings
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Primary": {
|
||||
"FeatureFlags": {
|
||||
"RunHostedServices": true,
|
||||
"RunXdiBatchProcessConsumer": true,
|
||||
"RunXdiSshResponseConsumer": true,
|
||||
"RunDnaAuditProcessConsumer": false
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
|
||||
#Test istio process
|
||||
namePrefix: normal-
|
||||
|
||||
configMapGenerator:
|
||||
- name: member-preferences-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
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: volume-appsettings
|
||||
configMap:
|
||||
name: member-preferences-api-appsettings
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: volume-appsettings
|
||||
mountPath: /app/config/workload-appsettings
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Primary": {
|
||||
"FeatureFlags": {
|
||||
"RunXdiBatchProcessConsumer": true,
|
||||
"RunDnaAuditProcessConsumer": false
|
||||
}
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
|
||||
namePrefix: xdi-batch-
|
||||
|
||||
configMapGenerator:
|
||||
- name: member-preferences-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
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: volume-appsettings
|
||||
configMap:
|
||||
name: member-preferences-api-appsettings
|
||||
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: volume-appsettings
|
||||
mountPath: /app/config/workload-appsettings
|
||||
@@ -1,2 +1,14 @@
|
||||
resources:
|
||||
- normal
|
||||
|
||||
configMapGenerator:
|
||||
- name: member-preferences-api-environment-appsettings
|
||||
files:
|
||||
- appsettings/appsettings.json
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: Deployment
|
||||
path: set_configmap_deployment.yaml
|
||||
+6
-10
@@ -9,11 +9,9 @@ data:
|
||||
"AppName": "Member Preferences Api",
|
||||
"SeqUrl": "https://qa-seq.lcu-internal.com",
|
||||
"XdiBatchProcessCronSchedule": "1 5-18 * * *",
|
||||
"DnaDataAuditProcessCronSchedule": "*/5 3-19 * * *",
|
||||
"DnaDataAuditProcessCronSchedule": "*/30 3-19 * * *",
|
||||
"FeatureFlags": {
|
||||
"RunHostedServices": true,
|
||||
"RunXdiBatchProcessConsumer": true,
|
||||
"RunXdiSshResponseConsumer": true,
|
||||
"RunAccountDnaFieldChangeConsumer": true,
|
||||
"RunAgreementDnaFieldChangeConsumer": true,
|
||||
"RunOrganizationDnaFieldChangeConsumer": true
|
||||
@@ -39,17 +37,15 @@ data:
|
||||
"TestEmailList": [ "[email protected]" ],
|
||||
"ShouldSendRealEmails": false
|
||||
},
|
||||
"FtpApiConfiguration": {
|
||||
"Url": "https://qa-ftpapi.lcu-internal.com/"
|
||||
},
|
||||
"XdiSftpApiConfiguration": {
|
||||
"HostName": "10.147.44.23",
|
||||
"PortNumber": 22,
|
||||
"SftpRootBasePath": "/home/devops/"
|
||||
"FileOperationsApiConfiguration": {
|
||||
"Url": "https://qa-fileoperationsapi.lcu-internal.com/"
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://qa-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ScanBiCoreApiWrapperConfiguration": {
|
||||
"ScanBiCoreApiWrapperUrl": "https://qa-scanbi-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration": {
|
||||
"HostUrl": "qa-rabbitmq.lcu-internal.com"
|
||||
},
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ resources:
|
||||
- configmap.yaml
|
||||
- ../common
|
||||
patchesStrategicMerge:
|
||||
- set_virtual_service.yaml
|
||||
- set_virtual_service.yaml
|
||||
+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
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"Primary": {
|
||||
"AppName": "Member Preferences Api",
|
||||
"SeqUrl": "https://qa-seq.lcu-internal.com",
|
||||
"FeatureGates": {
|
||||
"EnableControllers": true,
|
||||
"BounceBackNotifications": true
|
||||
}
|
||||
},
|
||||
"ApiHealthCheckConfiguration": {
|
||||
"VaultStatusConfiguration": {
|
||||
"RunVaultStatusCheck": true,
|
||||
"EnvironmentFromConfigmap": "QA"
|
||||
}
|
||||
},
|
||||
"SqlConnectionConfiguration": {
|
||||
"MaxRetryCount": 3,
|
||||
"MaxRetryDelay": "00:00:30"
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://qa-notifications-api.apps.azure.lcu-internal.com/api/",
|
||||
"DNACoreErrorEmailList": [ "[email protected]" ],
|
||||
"TestEmailList": [ "[email protected]" ],
|
||||
"ShouldSendRealEmails": false
|
||||
},
|
||||
"FileOperationsApiConfiguration": {
|
||||
"Url": "https://qa-fileoperationsapi.lcu-internal.com/api/"
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://qa-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ScanBiCoreApiWrapperConfiguration": {
|
||||
"ScanBiCoreApiWrapperUrl": "https://qa-scanbi-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration": {
|
||||
"HostUrl": "qa-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: "Development"
|
||||
-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: 3286ed9a-f85c-4c50-b742-dbd3c1c3fe1f
|
||||
keyvaultName: kv-lz-apps-qa-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: Development
|
||||
+7
@@ -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
|
||||
+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: qa-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://qa-seq.lcu-internal.com",
|
||||
"XdiBatchProcessCronSchedule": "1 5-18 * * *",
|
||||
"DnaDataAuditProcessCronSchedule": "*/5 3-19 * * *",
|
||||
"FeatureFlags": {
|
||||
"RunHostedServices": false,
|
||||
"RunXdiBatchProcessConsumer": false,
|
||||
"RunXdiSshResponseConsumer": true,
|
||||
"RunAccountDnaFieldChangeConsumer": false,
|
||||
"RunAgreementDnaFieldChangeConsumer": false,
|
||||
"RunOrganizationDnaFieldChangeConsumer": false
|
||||
},
|
||||
"FeatureGates": {
|
||||
"EnableControllers": true,
|
||||
"BounceBackNotifications": true
|
||||
}
|
||||
},
|
||||
"ApiHealthCheckConfiguration": {
|
||||
"VaultStatusConfiguration": {
|
||||
"RunVaultStatusCheck": true,
|
||||
"EnvironmentFromConfigmap": "QA"
|
||||
}
|
||||
},
|
||||
"SqlConnectionConfiguration": {
|
||||
"MaxRetryCount": 3,
|
||||
"MaxRetryDelay": "00:00:30"
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://qa-notificationsapi.lcu-internal.com/api/",
|
||||
"DNACoreErrorEmailList": [ "[email protected]" ],
|
||||
"TestEmailList": [ "[email protected]" ],
|
||||
"ShouldSendRealEmails": false
|
||||
},
|
||||
"FtpApiConfiguration": {
|
||||
"Url": "https://qa-ftpapi.lcu-internal.com/"
|
||||
},
|
||||
"XdiSftpApiConfiguration": {
|
||||
"HostName": "10.147.44.23",
|
||||
"PortNumber": 22,
|
||||
"SftpRootBasePath": "/home/devops/"
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://qa-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration":{
|
||||
"HostUrl": "qa-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:
|
||||
- qa-member-preferences-api.apps.azure.lcu-internal.com
|
||||
- op: add
|
||||
path: /spec/hosts/-
|
||||
value: qa-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: qa-member-preferences-xdi-batch-api.apps.azure.lcu-internal.com
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"Primary": {
|
||||
"AppName": "Member Preferences Api",
|
||||
"SeqUrl": "https://uat-seq.lcu-internal.com",
|
||||
"FeatureGates": {
|
||||
"EnableControllers": true,
|
||||
"BounceBackNotifications": false
|
||||
}
|
||||
},
|
||||
"ApiHealthCheckConfiguration": {
|
||||
"VaultStatusConfiguration": {
|
||||
"RunVaultStatusCheck": true,
|
||||
"EnvironmentFromConfigmap": "UAT"
|
||||
}
|
||||
},
|
||||
"SqlConnectionConfiguration": {
|
||||
"MaxRetryCount": 3,
|
||||
"MaxRetryDelay": "00:00:30"
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://uat-notifications-api.apps.azure.lcu-internal.com/api/",
|
||||
"DNACoreErrorEmailList": [ "[email protected]" ],
|
||||
"TestEmailList": [ "[email protected]" ],
|
||||
"ShouldSendRealEmails": false
|
||||
},
|
||||
"FileOperationsApiConfiguration": {
|
||||
"Url": "https://uat-fileoperationsapi.lcu-internal.com/api/"
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://uat-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ScanBiCoreApiWrapperConfiguration": {
|
||||
"ScanBiCoreApiWrapperUrl": "https://uat-scanbi-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration": {
|
||||
"HostUrl": "uat-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: "Staging"
|
||||
-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: 64ba01ed-1ecc-4c9b-b56e-8d618f2b81ce
|
||||
keyvaultName: kv-lz-apps-uat-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: "Staging"
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
- op: add
|
||||
path: /spec/parameters/userAssignedIdentityID
|
||||
value: 64ba01ed-1ecc-4c9b-b56e-8d618f2b81ce
|
||||
|
||||
- op: add
|
||||
path: /spec/parameters/keyvaultName
|
||||
value: kv-lz-apps-uat-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: uat-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://uat-seq.lcu-internal.com",
|
||||
"XdiBatchProcessCronSchedule": "1 5-18 * * *",
|
||||
"DnaDataAuditProcessCronSchedule": "*/5 3-19 * * *",
|
||||
"FeatureFlags": {
|
||||
"RunHostedServices": true,
|
||||
"RunXdiBatchProcessConsumer": true,
|
||||
"RunXdiSshResponseConsumer": true,
|
||||
"RunAccountDnaFieldChangeConsumer": true,
|
||||
"RunAgreementDnaFieldChangeConsumer": true,
|
||||
"RunOrganizationDnaFieldChangeConsumer": true
|
||||
},
|
||||
"FeatureGates": {
|
||||
"EnableControllers": true,
|
||||
"BounceBackNotifications": true
|
||||
}
|
||||
},
|
||||
"ApiHealthCheckConfiguration": {
|
||||
"VaultStatusConfiguration": {
|
||||
"RunVaultStatusCheck": true,
|
||||
"EnvironmentFromConfigmap": "UAT"
|
||||
}
|
||||
},
|
||||
"SqlConnectionConfiguration": {
|
||||
"MaxRetryCount": 3,
|
||||
"MaxRetryDelay": "00:00:30"
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://uat-notificationsapi.lcu-internal.com/api/",
|
||||
"DNACoreErrorEmailList": [ "[email protected]" ],
|
||||
"TestEmailList": [ "[email protected]" ],
|
||||
"ShouldSendRealEmails": false
|
||||
},
|
||||
"FtpApiConfiguration": {
|
||||
"Url": "https://uat-ftpapi.lcu-internal.com/"
|
||||
},
|
||||
"XdiSftpApiConfiguration": {
|
||||
"HostName": "10.147.44.23",
|
||||
"PortNumber": 22,
|
||||
"SftpRootBasePath": "/home/devops/"
|
||||
},
|
||||
"CoreApiWrapperConfiguration": {
|
||||
"CoreApiBaseUrl": "https://uat-core-api-wrapper-api.apps.azure.lcu-internal.com/api/core/"
|
||||
},
|
||||
"ConnectionConfiguration": {
|
||||
"HostUrl": "uat-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:
|
||||
- uat-member-preferences-api.apps.azure.lcu-internal.com
|
||||
- op: add
|
||||
path: /spec/hosts/-
|
||||
value: uat-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: uat-member-preferences-xdi-batch-api.apps.azure.lcu-internal.com
|
||||
Reference in New Issue
Block a user