adding
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
patchesStrategicMerge:
|
||||
- set_appsettings_deployment.yaml
|
||||
- set_secrets_provider_class.yaml
|
||||
images:
|
||||
- name: document-api
|
||||
newName: landmarkcu/lcu.api.internal.document-document
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: document-api
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: document-api
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Development"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||
kind: SecretProviderClass
|
||||
metadata:
|
||||
name: document-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,25 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: documentapi-configmap
|
||||
data:
|
||||
primary.json: |
|
||||
{
|
||||
"AzureKeyVaultUrl": "qa-DocumentApi-kv",
|
||||
"Primary": {
|
||||
"SeqUrl": "https://qa-seq.lcu-internal.com",
|
||||
"IsAksDeploy": true,
|
||||
"CorsAllowedOrigins": [
|
||||
"http://localhost:3000",
|
||||
"http://lcu-internal.com",
|
||||
"https://lcu-internal.com",
|
||||
"https://qa-api.lcu-internal.com"
|
||||
]
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://qa-notificationsapi.lcu-internal.com",
|
||||
},
|
||||
"FeatureManagement": {
|
||||
"GetDocumentCheckOwnership": true
|
||||
}
|
||||
}
|
||||
@@ -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: document-api
|
||||
spec:
|
||||
hosts:
|
||||
- qa-document-api.apps.azure.lcu-internal.com
|
||||
@@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
patchesStrategicMerge:
|
||||
- set_appsettings_deployment.yaml
|
||||
- set_secrets_provider_class.yaml
|
||||
images:
|
||||
- name: document-api
|
||||
newName: landmarkcu/lcu.api.internal.document-document
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: document-api
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: document-api
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Production"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||
kind: SecretProviderClass
|
||||
metadata:
|
||||
name: document-api-csi-key-vault-secrets-provider
|
||||
spec:
|
||||
parameters:
|
||||
userAssignedIdentityID: 9eaefc49-e5d3-48d4-a2b9-b42cf2d8ca03
|
||||
keyvaultName: kv-lz-apps-prod-uscz
|
||||
@@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- normal
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: documentapi-configmap
|
||||
data:
|
||||
primary.json: |
|
||||
{
|
||||
"AzureKeyVaultUrl": "prd-DocumentApi-kv",
|
||||
"Primary": {
|
||||
"SeqUrl": "https://seq.lcu-internal.com",
|
||||
"IsAksDeploy": true,
|
||||
"CorsAllowedOrigins": [
|
||||
"http://lcu-internal.com",
|
||||
"https://lcu-internal.com",
|
||||
"https://api.lcu-internal.com"
|
||||
]
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://prd-notifications-api.apps.azure.lcu-internal.com",
|
||||
},
|
||||
"FeatureManagement": {
|
||||
"GetDocumentCheckOwnership": true
|
||||
}
|
||||
}
|
||||
@@ -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: document-api
|
||||
spec:
|
||||
hosts:
|
||||
- prd-document-api.apps.azure.lcu-internal.com
|
||||
@@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
patchesStrategicMerge:
|
||||
- set_appsettings_deployment.yaml
|
||||
- set_secrets_provider_class.yaml
|
||||
images:
|
||||
- name: document-api
|
||||
newName: landmarkcu/lcu.api.internal.document-document
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: document-api
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: document-api
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Development"
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||
kind: SecretProviderClass
|
||||
metadata:
|
||||
name: document-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,25 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: documentapi-configmap
|
||||
data:
|
||||
primary.json: |
|
||||
{
|
||||
"AzureKeyVaultUrl": "qa-DocumentApi-kv",
|
||||
"Primary": {
|
||||
"SeqUrl": "https://qa-seq.lcu-internal.com",
|
||||
"IsAksDeploy": true,
|
||||
"CorsAllowedOrigins": [
|
||||
"http://localhost:3000",
|
||||
"http://lcu-internal.com",
|
||||
"https://lcu-internal.com",
|
||||
"https://qa-api.lcu-internal.com"
|
||||
]
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://qa-notifications-api.apps.azure.lcu-internal.com",
|
||||
},
|
||||
"FeatureManagement": {
|
||||
"GetDocumentCheckOwnership": true
|
||||
}
|
||||
}
|
||||
@@ -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: document-api
|
||||
spec:
|
||||
hosts:
|
||||
- qa-document-api.apps.azure.lcu-internal.com
|
||||
@@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- ../../../base
|
||||
patchesStrategicMerge:
|
||||
- set_appsettings_deployment.yaml
|
||||
- set_secrets_provider_class.yaml
|
||||
images:
|
||||
- name: document-api
|
||||
newName: landmarkcu/lcu.api.internal.document-document
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: document-api
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: document-api
|
||||
env:
|
||||
- name: ASPNETCORE_ENVIRONMENT
|
||||
value: "Staging"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||
kind: SecretProviderClass
|
||||
metadata:
|
||||
name: document-api-csi-key-vault-secrets-provider
|
||||
spec:
|
||||
parameters:
|
||||
userAssignedIdentityID: 64ba01ed-1ecc-4c9b-b56e-8d618f2b81ce
|
||||
keyvaultName: kv-lz-apps-uat-uscz
|
||||
@@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- normal
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: documentapi-configmap
|
||||
data:
|
||||
primary.json: |
|
||||
{
|
||||
"AzureKeyVaultUrl": "uat-DocumentApi-kv",
|
||||
"Primary": {
|
||||
"SeqUrl": "https://uat-seq.lcu-internal.com",
|
||||
"IsAksDeploy": true,
|
||||
"CorsAllowedOrigins": [
|
||||
"http://localhost:3000",
|
||||
"http://lcu-internal.com",
|
||||
"https://lcu-internal.com",
|
||||
"https://uat-api.lcu-internal.com"
|
||||
]
|
||||
},
|
||||
"NotificationApiConfiguration": {
|
||||
"Url": "https://uat-notifications-api.apps.azure.lcu-internal.com",
|
||||
},
|
||||
"FeatureManagement": {
|
||||
"GetDocumentCheckOwnership": true
|
||||
}
|
||||
}
|
||||
@@ -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: document-api
|
||||
spec:
|
||||
hosts:
|
||||
- uat-document-api.apps.azure.lcu-internal.com
|
||||
Reference in New Issue
Block a user