From 86581360a853f4ce76ce7af7e3d6169df9204d1f Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 2 Jun 2026 16:06:23 +0500 Subject: [PATCH] ++ --- .../django/brusnika-stage/export-project.yaml | 106 ++++++++++++++++++ apps/django/brusnika-stage/kustomization.yaml | 1 + 2 files changed, 107 insertions(+) create mode 100644 apps/django/brusnika-stage/export-project.yaml diff --git a/apps/django/brusnika-stage/export-project.yaml b/apps/django/brusnika-stage/export-project.yaml new file mode 100644 index 0000000..518e23c --- /dev/null +++ b/apps/django/brusnika-stage/export-project.yaml @@ -0,0 +1,106 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: export-project + namespace: django + +spec: + interval: 10m + + chart: + spec: + chart: universal-chart + version: "0.1.7" + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + + install: + remediation: + retries: 3 + + upgrade: + remediation: + retries: 3 + + values: + global: + env: _default + + services: + backend: + enabled: true + + image: + name: + _default: cr.yandex/crp3ccidau046kdj8g9q/export-project:prod_37a48176 + pullPolicy: + _default: IfNotPresent + + deployment: + enabled: true + + name: + _default: export-project + + replicaCount: + _default: 1 + stage: 1 + preprod: 3 + production: 3 + + port: + _default: 8000 + + resources: + limits: + cpu: + _default: "2.0" + memory: + _default: 512Mi + + requests: + cpu: + _default: "1.0" + memory: + _default: 128Mi + + probes: + liveness: + enabled: false + readiness: + enabled: false + + service: + enabled: true + + name: + _default: export-project-service + + type: + _default: ClusterIP + + port: + _default: 8000 + + targetPort: + _default: 8000 + + portName: + _default: http + + imagePullSecrets: + enabled: + _default: true + name: + _default: dockerhub + + labels: + monitoring: prometheus + + commitSha: "" + gitlabUri: "" + gitlabJobUrl: "" + owner: "" \ No newline at end of file diff --git a/apps/django/brusnika-stage/kustomization.yaml b/apps/django/brusnika-stage/kustomization.yaml index 19f5f3f..ce6c9e0 100644 --- a/apps/django/brusnika-stage/kustomization.yaml +++ b/apps/django/brusnika-stage/kustomization.yaml @@ -6,3 +6,4 @@ resources: - sarex-frontend.yaml - sarex-backend.yaml - celery.yaml + - export-project.yaml