++
This commit is contained in:
parent
eaa5afcac4
commit
52ab310c65
11
apps/notes/d8-ugmk-prod/kustomization.yaml
Normal file
11
apps/notes/d8-ugmk-prod/kustomization.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
patches:
|
||||||
|
- path: namespace.yaml
|
||||||
|
target:
|
||||||
|
kind: Namespace
|
||||||
|
name: notes
|
||||||
|
- path: patch.yaml
|
||||||
7
apps/notes/d8-ugmk-prod/namespace.yaml
Normal file
7
apps/notes/d8-ugmk-prod/namespace.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: notes
|
||||||
|
labels:
|
||||||
|
istio-injection: disabled
|
||||||
|
security.deckhouse.io/pod-policy: privileged
|
||||||
28
apps/notes/d8-ugmk-prod/patch.yaml
Normal file
28
apps/notes/d8-ugmk-prod/patch.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: backend
|
||||||
|
namespace: notes
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: backend
|
||||||
|
env:
|
||||||
|
- name: BASE_HOST
|
||||||
|
value: https://sarex.ru/notes
|
||||||
|
- name: DJANGO_HOST
|
||||||
|
value: https://sarex.ru
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: frontend
|
||||||
|
namespace: notes
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: frontend
|
||||||
|
image: cr.yandex/crp3ccidau046kdj8g9q/notes-frontend:production_81366854
|
||||||
@ -21,4 +21,5 @@ resources:
|
|||||||
- ../../apps/cross-section/d8-ugmk-prod
|
- ../../apps/cross-section/d8-ugmk-prod
|
||||||
- ../../apps/reviews/d8-ugmk-prod
|
- ../../apps/reviews/d8-ugmk-prod
|
||||||
- ../../apps/remarks/d8-ugmk-prod
|
- ../../apps/remarks/d8-ugmk-prod
|
||||||
- ../../apps/auth-flow/d8-ugmk-prod
|
- ../../apps/auth-flow/d8-ugmk-prod
|
||||||
|
- ../../apps/notes/d8-ugmk-prod
|
||||||
Loading…
Reference in New Issue
Block a user