diff --git a/apps/notes/d8-ugmk-prod/kustomization.yaml b/apps/notes/d8-ugmk-prod/kustomization.yaml index 6a4ca4f..297cd98 100644 --- a/apps/notes/d8-ugmk-prod/kustomization.yaml +++ b/apps/notes/d8-ugmk-prod/kustomization.yaml @@ -8,4 +8,4 @@ patches: target: kind: Namespace name: notes - - path: patch.yaml + - path: patch.yaml \ No newline at end of file diff --git a/apps/notes/d8-ugmk-prod/patch.yaml b/apps/notes/d8-ugmk-prod/patch.yaml index c5fb627..2a8303c 100644 --- a/apps/notes/d8-ugmk-prod/patch.yaml +++ b/apps/notes/d8-ugmk-prod/patch.yaml @@ -1,29 +1,13 @@ --- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: backend - namespace: notes -spec: - template: - spec: - containers: - - name: main - image: cr.yandex/crp3ccidau046kdj8g9q/notes-backend:production_81366854 - env: - - name: BASE_HOST - value: https://sarex.ru/notes - - name: DJANGO_HOST - value: https://sarex.ru ---- -apiVersion: apps/v1 -kind: Deployment +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease metadata: name: frontend namespace: notes spec: - template: - spec: - containers: - - name: frontend - image: cr.yandex/crp3ccidau046kdj8g9q/notes-frontend:production_81366854 + values: + services: + frontend: + deployment: + replicaCount: + _default: 1