This commit is contained in:
ivan 2026-07-21 14:22:34 +05:00
parent eaa5afcac4
commit 52ab310c65
4 changed files with 48 additions and 1 deletions

View 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

View File

@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: notes
labels:
istio-injection: disabled
security.deckhouse.io/pod-policy: privileged

View 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

View File

@ -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