File tree Expand file tree Collapse file tree 15 files changed +270
-107
lines changed Expand file tree Collapse file tree 15 files changed +270
-107
lines changed Original file line number Diff line number Diff line change 1
- # vc-deploy-dev
2
-
3
- Platform DEV [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcplatform-dev&revision=true )] ( https://argo.govirto.com/applications/vcplatform-dev )
4
-
5
- Platform QA [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcplatform-qa&revision=true )] ( https://argo.govirto.com/applications/vcplatform-qa )
6
-
7
- Load test DEV [ ![ App Status] ( https://argo.govirto.com/api/badge?name=loadtest-dev&revision=true )] ( https://argo.govirto.com/applications/loadtest-dev )
8
-
9
- Regression QA [ ![ App Status] ( https://argo.govirto.com/api/badge?name=regression-app-qa&revision=true )] ( https://argo.govirto.com/applications/regression-app-qa )
10
-
11
- Marketplace Dev [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcmarketplace-dev&revision=true )] ( https://argo.govirto.com/applications/vcmarketplace-dev )
1
+ # Environments
2
+
3
+ | Environment | Owner | Status |
4
+ | -------------| ------------------| ---------------------------------------------------------------------------------------------------------------------------------------------------|
5
+ | DEV | Platform Team | [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcplatform-dev&revision=true )] ( https://argo.govirto.com/applications/vcplatform-dev ) |
6
+ | QA | QA Team | [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcplatform-qa&revision=true )] ( https://argo.govirto.com/applications/vcplatform-qa ) |
7
+ | DEMO | Platform Team | [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcplatform-demo&revision=true )] ( https://argo.govirto.com/applications/vcplatform-demo ) |
8
+ | Loadtest | Platform Team | [ ![ App Status] ( https://argo.govirto.com/api/badge?name=loadtest-dev&revision=true )] ( https://argo.govirto.com/applications/loadtest-dev ) |
9
+ | Regression | QA Team | [ ![ App Status] ( https://argo.govirto.com/api/badge?name=regression-app-qa&revision=true )] ( https://argo.govirto.com/applications/regression-app-qa ) |
10
+ | Marketplace | Marketplace Team | [ ![ App Status] ( https://argo.govirto.com/api/badge?name=vcmarketplace-dev&revision=true )] ( https://argo.govirto.com/applications/vcmarketplace-dev ) |
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ nameSuffix : -demo
4
+ resources :
5
+ - platform-app-demo.yaml
6
+ - ui-kit.yaml
Original file line number Diff line number Diff line change
1
+ apiVersion : argoproj.io/v1alpha1
2
+ kind : Application
3
+ metadata :
4
+ name : vcplatform
5
+ namespace : argocd
6
+ finalizers :
7
+ - resources-finalizer.argocd.argoproj.io
8
+ spec :
9
+ destination :
10
+ namespace : demo
11
+ server : https://kubernetes.default.svc
12
+ project : prod-tenant
13
+ source :
14
+ path : platform-dev/overlays/demo
15
+ repoURL : https://github.com/VirtoCommerce/vc-deploy-dev
16
+ targetRevision : demo
17
+ syncPolicy :
18
+ automated :
19
+ prune : true
20
+ selfHeal : true
File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,4 +3,3 @@ kind: Kustomization
3
3
nameSuffix : -dev
4
4
resources :
5
5
- platform-app-dev.yaml
6
- - ui-kit.yaml
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ namespace : demo
4
+ namePrefix : vcplatform-
5
+ commonLabels :
6
+ instance : vcplatform
7
+
8
+ resources :
9
+ - ../../resources
10
+ - demo-manager-deploy.yaml
11
+ - xapi-deploy.yaml
12
+
13
+ images :
14
+ - name : ghcr.io/virtocommerce/platform-demo-manager
15
+ newName : ghcr.io/virtocommerce/platform-demo-manager
16
+ newTag : 0.0.48
17
+
18
+ configMapGenerator :
19
+ - name : db-config
20
+ literals :
21
+ - VC_DB_HOST=vc-dev-dbserver.database.windows.net
22
+ - VC_DB=vc-dev-dbserver
23
+ - VC_DB_POOL=vc-dev-elasticpool
24
+ - VC_DB_USER=virto
25
+ - name : vault-config
26
+ literals :
27
+ - VAULT_API_URL=http://vault-dev.vault-dev.svc.cluster.local:8200
28
+
29
+ patches :
30
+ - patch : |-
31
+ - op: add
32
+ path: /spec/template/spec/nodeSelector
33
+ value:
34
+ agentpool: agentpool
35
+ target :
36
+ group : apps
37
+ version : v1
38
+ kind : Deployment
39
+
40
+ vars :
41
+ - name : VC_DB_HOST
42
+ objref :
43
+ kind : ConfigMap
44
+ name : db-config
45
+ apiVersion : v1
46
+ fieldref :
47
+ fieldpath : data.VC_DB_HOST
48
+ - name : VC_DB
49
+ objref :
50
+ kind : ConfigMap
51
+ name : db-config
52
+ apiVersion : v1
53
+ fieldref :
54
+ fieldpath : data.VC_DB
55
+ - name : VC_DB_POOL
56
+ objref :
57
+ kind : ConfigMap
58
+ name : db-config
59
+ apiVersion : v1
60
+ fieldref :
61
+ fieldpath : data.VC_DB_POOL
62
+ - name : VC_DB_USER
63
+ objref :
64
+ kind : ConfigMap
65
+ name : db-config
66
+ apiVersion : v1
67
+ fieldref :
68
+ fieldpath : data.VC_DB_USER
69
+ - name : VAULT_API_URL
70
+ objref :
71
+ kind : ConfigMap
72
+ name : vault-config
73
+ apiVersion : v1
74
+ fieldref :
75
+ fieldpath : data.VAULT_API_URL
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : nginx-deployment-xapi-page
5
+ spec :
6
+ revisionHistoryLimit : 2
7
+ selector :
8
+ matchLabels :
9
+ app : xapi-page
10
+ replicas : 1
11
+ template :
12
+ metadata :
13
+ labels :
14
+ app : xapi-page
15
+ spec :
16
+ containers :
17
+ - name : xapi-page
18
+ image : ghcr.io/virtocommerce/demo-xapi-app:alpha.9
19
+ command :
20
+ - " /bin/sh"
21
+ - " -c"
22
+ env :
23
+ - name : PLATFORM_URL
24
+ value : " https://$(VC_PLATFORM_SERVICE).$(VC_NAMESPACE).govirto.com"
25
+ args :
26
+ - " rm /usr/share/nginx/html/environments/environment.variables.json
27
+ && envsubst '$${PLATFORM_URL}'< /usr/share/nginx/html/environments/environment.variables.json.template > /usr/share/nginx/html/environments/environment.variables.json
28
+ && nginx -g 'daemon off;'"
29
+ ports :
30
+ - containerPort : 80
31
+ resources :
32
+ requests :
33
+ memory : 256Mi
34
+ limits :
35
+ memory : 256Mi
36
+ ---
37
+ apiVersion : v1
38
+ kind : Service
39
+ metadata :
40
+ name : xapi-page
41
+ spec :
42
+ type : ClusterIP
43
+ ports :
44
+ - port : 80
45
+ selector :
46
+ app : xapi-page
47
+ ---
48
+ apiVersion : extensions/v1beta1
49
+ kind : Ingress
50
+ metadata :
51
+ name : xapi-ingress-https
52
+ annotations :
53
+ kubernetes.io/ingress.class : nginx
54
+ nginx.ingress.kubernetes.io/force-ssl-redirect : " true"
55
+ # nginx.ingress.kubernetes.io/custom-http-errors: "404"
56
+ # nginx.ingress.kubernetes.io/default-backend: $(VC_INSTANCE)-xapi-page
57
+ cert-manager.io/cluster-issuer : letsencrypt
58
+ spec :
59
+ tls :
60
+ - hosts :
61
+ - " $(VC_INSTANCE)-xapi.$(VC_NAMESPACE).govirto.com"
62
+ secretName : $(VC_INSTANCE)-xapi-$(VC_NAMESPACE)-tls
63
+ rules :
64
+ - host : $(VC_INSTANCE)-xapi.$(VC_NAMESPACE).govirto.com
65
+ http :
66
+ paths :
67
+ - backend :
68
+ serviceName : xapi-page
69
+ servicePort : 80
70
+ path : /
You can’t perform that action at this time.
0 commit comments