Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64fe3c00fb | ||
|
|
5564778337 | ||
|
|
0bd15c6ae5 | ||
|
|
e00a7905fb | ||
|
|
7531341438 | ||
|
|
d44378a432 | ||
|
|
6251cfed5c | ||
|
|
e4c3294bb8 | ||
| 0c54886814 | |||
|
|
7cac4ff295 | ||
|
|
a438f5bd6b | ||
|
|
8244e56f02 | ||
|
|
70e4b24eee | ||
|
|
474298459a | ||
|
|
c471cf39e0 | ||
|
|
979e5c2a51 | ||
|
|
b32e4667c1 | ||
|
|
01b8a7b553 | ||
|
|
809febe4dc | ||
| 1fe6cb2eba |
@ -138,6 +138,10 @@ spec:
|
||||
- name: KAFKA_SASL_MECHANISM
|
||||
value:
|
||||
_default: "SCRAM-SHA-512"
|
||||
- name: RESOURCES_INTERNAL_HOST
|
||||
value:
|
||||
_default: "http://iams.iam.svc.cluster.local:8080"
|
||||
|
||||
secretEnvs:
|
||||
- name: TELEGRAM_TOKEN
|
||||
secretName:
|
||||
|
||||
@ -110,6 +110,10 @@ spec:
|
||||
- name: YANDEX_S3_VERIFY
|
||||
value:
|
||||
_default: "false"
|
||||
- name: YANDEX_S3_USE_SSL
|
||||
value:
|
||||
_default: "false"
|
||||
|
||||
secretEnvs:
|
||||
- name: DATABASE_HOST
|
||||
secretName:
|
||||
|
||||
15
apps/auth-flow/uralkal/helmrelease.yaml
Normal file
15
apps/auth-flow/uralkal/helmrelease.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: auth-flow
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: helmrelease.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
@ -37,7 +37,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/bi-frontend:production_afb137d4
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/bi-frontend:contour_9cfd1a0b
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
|
||||
@ -8,6 +8,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
main:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
envs:
|
||||
- name: SETTINGS_DEBUG
|
||||
value:
|
||||
|
||||
15
apps/bi/uralkal/frontend.yaml
Normal file
15
apps/bi/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: bi-frontend
|
||||
namespace: bi
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -7,3 +7,7 @@ patches:
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: bi-backend
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: bi-frontend
|
||||
|
||||
15
apps/bim/uralkal/backend.yaml
Normal file
15
apps/bim/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: bim
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
|
||||
15
apps/cde/uralkal/cde-flowscallback.yaml
Normal file
15
apps/cde/uralkal/cde-flowscallback.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-flowscallback
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-flowscallback:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-splitpdf.yaml
Normal file
15
apps/cde/uralkal/cde-splitpdf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-splitpdf
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-splitpdf:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-alert.yaml
Normal file
15
apps/cde/uralkal/cde-worker-alert.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-alert
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-alert:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-copy.yaml
Normal file
15
apps/cde/uralkal/cde-worker-copy.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-copy
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-copy:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-copyv2.yaml
Normal file
15
apps/cde/uralkal/cde-worker-copyv2.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-copyv2
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-copyv2:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-create-versions.yaml
Normal file
15
apps/cde/uralkal/cde-worker-create-versions.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-create-versions
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-create-versions:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-create-versionsv2.yaml
Normal file
15
apps/cde/uralkal/cde-worker-create-versionsv2.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-create-versionsv2
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-create-versionsv2:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-markings.yaml
Normal file
15
apps/cde/uralkal/cde-worker-markings.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-markings
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-markings:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-markingsv2.yaml
Normal file
15
apps/cde/uralkal/cde-worker-markingsv2.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-markingsv2
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-markingsv2:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-sign.yaml
Normal file
15
apps/cde/uralkal/cde-worker-sign.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-sign
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-sign:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-signv2.yaml
Normal file
15
apps/cde/uralkal/cde-worker-signv2.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-signv2
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-signv2:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde-worker-update-bundles.yaml
Normal file
15
apps/cde/uralkal/cde-worker-update-bundles.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde-worker-update-bundles
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde-worker-update-bundles:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/cde/uralkal/cde.yaml
Normal file
15
apps/cde/uralkal/cde.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cde
|
||||
namespace: cde
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
cde:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,56 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: cde-flowscallback.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-flowscallback
|
||||
- path: cde-splitpdf.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-splitpdf
|
||||
- path: cde-worker-alert.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-alert
|
||||
- path: cde-worker-copy.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-copy
|
||||
- path: cde-worker-copyv2.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-copyv2
|
||||
- path: cde-worker-create-versions.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-create-versions
|
||||
- path: cde-worker-create-versionsv2.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-create-versionsv2
|
||||
- path: cde-worker-markings.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-markings
|
||||
- path: cde-worker-markingsv2.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-markingsv2
|
||||
- path: cde-worker-sign.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-sign
|
||||
- path: cde-worker-signv2.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-signv2
|
||||
- path: cde-worker-update-bundles.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde-worker-update-bundles
|
||||
- path: cde.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cde
|
||||
|
||||
@ -114,6 +114,18 @@ spec:
|
||||
- name: DEBUG
|
||||
value:
|
||||
_default: "false"
|
||||
- name: DATABASE_HOST
|
||||
value:
|
||||
_default: "192.168.2.45"
|
||||
|
||||
- name: DATABASE_PORT
|
||||
value:
|
||||
_default: "5432"
|
||||
|
||||
- name: DATABASE_NAME
|
||||
value:
|
||||
_default: "checklists_db"
|
||||
|
||||
secretEnvs:
|
||||
- name: DATABASE_HOST
|
||||
secretName:
|
||||
|
||||
15
apps/checklists/uralkal/helmrelease.yaml
Normal file
15
apps/checklists/uralkal/helmrelease.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: checklists
|
||||
namespace: checklists
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
checklists:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: helmrelease.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: checklists
|
||||
|
||||
15
apps/comparisons/uralkal/backend.yaml
Normal file
15
apps/comparisons/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: comparisons
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/comparisons/uralkal/frontend.yaml
Normal file
15
apps/comparisons/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: comparisons
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
94
apps/control-interface/base/admin-frontend.yaml
Normal file
94
apps/control-interface/base/admin-frontend.yaml
Normal file
@ -0,0 +1,94 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: admin-frontend
|
||||
namespace: control-interface
|
||||
|
||||
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:
|
||||
admin-frontend:
|
||||
enabled: true
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/admin-frontend:contour_9dc27b40
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
deployment:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: admin-frontend
|
||||
|
||||
replicaCount:
|
||||
_default: 1
|
||||
|
||||
port:
|
||||
_default: 80
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu:
|
||||
_default: 100m
|
||||
memory:
|
||||
_default: 100Mi
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
|
||||
name:
|
||||
_default: admin-frontend-svc
|
||||
|
||||
type:
|
||||
_default: ClusterIP
|
||||
|
||||
port:
|
||||
_default: 8080
|
||||
|
||||
targetPort:
|
||||
_default: 80
|
||||
|
||||
portName:
|
||||
_default: http
|
||||
|
||||
imagePullSecrets:
|
||||
enabled:
|
||||
_default: true
|
||||
name:
|
||||
_default: regcred
|
||||
|
||||
commitSha: ""
|
||||
gitlabUri: ""
|
||||
gitlabJobUrl: ""
|
||||
owner: ""
|
||||
@ -4,4 +4,5 @@ kind: Kustomization
|
||||
namespace: control-interface
|
||||
resources:
|
||||
- helmrelease.yaml
|
||||
- admin-frontend.yaml
|
||||
|
||||
|
||||
15
apps/cross-section/uralkal/helmrelease.yaml
Normal file
15
apps/cross-section/uralkal/helmrelease.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cross-section-static
|
||||
namespace: cross-section
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: helmrelease.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: cross-section-static
|
||||
|
||||
@ -330,6 +330,14 @@ spec:
|
||||
- name: KC_USE_REDIRECT_LOGOUT
|
||||
value:
|
||||
_default: "True"
|
||||
- name: CACHE_HOST
|
||||
value:
|
||||
_default: "redis.pm.svc.cluster.local"
|
||||
|
||||
- name: RESOURCES_INTERNAL_HOST
|
||||
value:
|
||||
_default: "http://iams.iam.svc.cluster.local:8080"
|
||||
|
||||
secretEnvs:
|
||||
- name: SERVER_SUPERSET_JWT_SECRET
|
||||
secretName:
|
||||
|
||||
@ -88,6 +88,11 @@ spec:
|
||||
labels:
|
||||
monitoring: prometheus
|
||||
|
||||
envs:
|
||||
- name: TIMEOUT
|
||||
value:
|
||||
_default: "180"
|
||||
|
||||
commitSha: ""
|
||||
gitlabUri: ""
|
||||
gitlabJobUrl: ""
|
||||
|
||||
@ -313,6 +313,18 @@ spec:
|
||||
- name: KC_USE_REDIRECT_LOGOUT
|
||||
value:
|
||||
_default: "True"
|
||||
- name: RESOURCES_INTERNAL_HOST
|
||||
value:
|
||||
_default: "http://iams.iam.svc.cluster.local:8080"
|
||||
|
||||
- name: SERVER_EXTERNAL_FIND_BY_USERNAME_ENABLED
|
||||
value:
|
||||
_default: "True"
|
||||
|
||||
- name: SERVER_EXTERNAL_FIND_BY_EMAIL_ENABLED
|
||||
value:
|
||||
_default: "True"
|
||||
|
||||
secretEnvs:
|
||||
- name: SERVER_SUPERSET_JWT_SECRET
|
||||
secretName:
|
||||
|
||||
@ -8,6 +8,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
envs:
|
||||
- name: ALLOWED_HOSTS
|
||||
value:
|
||||
|
||||
15
apps/django/uralkal/celery.yaml
Normal file
15
apps/django/uralkal/celery.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: celery
|
||||
namespace: django
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
celery:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/django/uralkal/frontend.yaml
Normal file
15
apps/django/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: django
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -19,3 +19,15 @@ patches:
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: s3-proxy
|
||||
- path: celery.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: celery
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
- path: srx-admin.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: srx-admin-frontend
|
||||
|
||||
15
apps/django/uralkal/srx-admin.yaml
Normal file
15
apps/django/uralkal/srx-admin.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: srx-admin-frontend
|
||||
namespace: django
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
srx-admin:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -8,7 +8,7 @@ data:
|
||||
{
|
||||
"auth_type": "zitadel",
|
||||
"zitadel": {
|
||||
"client_id": "392748423989716183",
|
||||
"client_id": "392748840802936023",
|
||||
"host": "https://login.sarex.local.uralkali.com"
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,12 +60,12 @@ data:
|
||||
expires off;
|
||||
}
|
||||
|
||||
# location ~^/api/pm/ {
|
||||
# proxy_http_version 1.1;
|
||||
# proxy_set_header Connection "";
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_pass http://backend-svc.pm.svc.cluster.local:8000;
|
||||
# }
|
||||
location ~^/api/pm/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://backend-svc.pm.svc.cluster.local:8000;
|
||||
}
|
||||
|
||||
location ~^/api/v1/documents/ {
|
||||
proxy_http_version 1.1;
|
||||
|
||||
@ -8,6 +8,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/document-link-frontend:vad_60487abb
|
||||
|
||||
@ -37,7 +37,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/documentations:prod_b34286a7
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/documentations:prod_98a23ef5
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
@ -267,6 +267,15 @@ spec:
|
||||
- name: USE_CACHE_IN_FILE_STREAMER
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: USE_LEGACY_BIM_FLOW
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
- name: PUBLIC_LINK_FOLDER_CONNECTOR_ENABLED
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
secretEnvs:
|
||||
- name: PUBLIC_KEY
|
||||
secretName:
|
||||
|
||||
@ -255,6 +255,34 @@ spec:
|
||||
- name: USE_CACHE_IN_FILE_STREAMER
|
||||
value:
|
||||
_default: "1"
|
||||
- name: USE_LEGACY_BIM_FLOW
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
- name: USE_ZITADEL
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: LAST_SLAVE_1_BIM
|
||||
value:
|
||||
_default: "1000000"
|
||||
|
||||
- name: ENABLE_SMTP
|
||||
value:
|
||||
_default: "True"
|
||||
|
||||
- name: ENABLE_MAILGUN
|
||||
value:
|
||||
_default: "False"
|
||||
|
||||
- name: ENABLE_AUTH_JWT_IN_URL
|
||||
value:
|
||||
_default: "false"
|
||||
|
||||
- name: ENABLE_SIGNATURE_IN_URL
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
secretEnvs:
|
||||
- name: PUBLIC_KEY
|
||||
secretName:
|
||||
|
||||
@ -255,6 +255,19 @@ spec:
|
||||
- name: USE_CACHE_IN_FILE_STREAMER
|
||||
value:
|
||||
_default: "1"
|
||||
|
||||
- name: USE_ZITADEL
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
- name: ENABLE_AUTH_JWT_IN_URL
|
||||
value:
|
||||
_default: "false"
|
||||
|
||||
- name: ENABLE_SIGNATURE_IN_URL
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
secretEnvs:
|
||||
- name: PUBLIC_KEY
|
||||
secretName:
|
||||
|
||||
@ -308,6 +308,14 @@ spec:
|
||||
- name: WORKSPACE_URL
|
||||
value:
|
||||
_default: "http://workspaces-service.workspaces.svc.cluster.local:8000/"
|
||||
- name: BUCKET_NAME
|
||||
value:
|
||||
_default: "attachments-storage"
|
||||
|
||||
- name: PERMISSIONS_FILTER_COMPANIES
|
||||
value:
|
||||
_default: "[1]"
|
||||
|
||||
secretEnvs:
|
||||
- name: RELEASES_TOKEN
|
||||
secretName:
|
||||
|
||||
@ -8,6 +8,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
envs:
|
||||
- name: POSTGRES_POOL_SIZE
|
||||
value:
|
||||
@ -20,7 +25,7 @@ spec:
|
||||
_default: login.sarex.local.uralkali.com
|
||||
- name: USE_ZITADEL
|
||||
value:
|
||||
_default: "1"
|
||||
_default: "0"
|
||||
- name: FLOWS_URL
|
||||
value:
|
||||
_default: http://backend-svc.flows.svc.cluster.local:80
|
||||
|
||||
@ -8,6 +8,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
envs:
|
||||
- name: POSTGRES_POOL_SIZE
|
||||
value:
|
||||
@ -20,7 +25,7 @@ spec:
|
||||
_default: login.sarex.local.uralkali.com
|
||||
- name: USE_ZITADEL
|
||||
value:
|
||||
_default: "1"
|
||||
_default: "0"
|
||||
- name: FLOWS_URL
|
||||
value:
|
||||
_default: http://backend-svc.flows.svc.cluster.local:80
|
||||
|
||||
15
apps/documentations/uralkal/frontend.yaml
Normal file
15
apps/documentations/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: documentations
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/documentations/uralkal/hasher.yaml
Normal file
15
apps/documentations/uralkal/hasher.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: documentations-hasher
|
||||
namespace: documentations
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -15,3 +15,15 @@ patches:
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: documentations-pdf-markings-amqp
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
- path: hasher.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: documentations-hasher
|
||||
- path: pdm.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: pdm-api
|
||||
|
||||
@ -8,6 +8,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
envs:
|
||||
- name: MARKS_APP__LOG_LEVEL
|
||||
value:
|
||||
|
||||
15
apps/documentations/uralkal/pdm.yaml
Normal file
15
apps/documentations/uralkal/pdm.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: pdm-api
|
||||
namespace: documentations
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -166,6 +166,10 @@ spec:
|
||||
- name: YC_S3_BUCKET_NAME
|
||||
value:
|
||||
_default: "eav"
|
||||
- name: KAFKA_ENABLED
|
||||
value:
|
||||
_default: "False"
|
||||
|
||||
secretEnvs:
|
||||
- name: KAFKA_PASSWORD
|
||||
secretName:
|
||||
|
||||
15
apps/eav/uralkal/helmrelease.yaml
Normal file
15
apps/eav/uralkal/helmrelease.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: eav
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: helmrelease.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
|
||||
15
apps/faas/uralkal/backend.yaml
Normal file
15
apps/faas/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: export-reviews
|
||||
namespace: faas
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: export-reviews
|
||||
|
||||
@ -35,7 +35,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/flows-backend:production_a7dc8216
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/flows-backend:production_e8a366a3
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
@ -225,6 +225,22 @@ spec:
|
||||
- name: DOCUMENTATION_TIMEOUT
|
||||
value:
|
||||
_default: "60"
|
||||
- name: PLANNING_HOST
|
||||
value:
|
||||
_default: "http://backend-service.pm.svc.cluster.local:8000/api/pm/msp"
|
||||
|
||||
- name: PLANNING_USE
|
||||
value:
|
||||
_default: "True"
|
||||
|
||||
- name: PROXY_PATH_PREFIX
|
||||
value:
|
||||
_default: "/flows"
|
||||
|
||||
- name: CHECKLIST_HOST
|
||||
value:
|
||||
_default: "http://checklists-backend-service.checklists.svc.cluster.local:80"
|
||||
|
||||
secretEnvs:
|
||||
- name: ADMIN_PANEL_SECRET_KEY
|
||||
secretName:
|
||||
|
||||
@ -35,7 +35,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/flows-backend_worker:production_a7dc8216
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/flows-backend_worker:production_e8a366a3
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
@ -223,6 +223,34 @@ spec:
|
||||
- name: DOCUMENTATION_TIMEOUT
|
||||
value:
|
||||
_default: "60"
|
||||
- name: FLOWS_HOST
|
||||
value:
|
||||
_default: "http://backend-service.flows.svc.cluster.local:8000"
|
||||
|
||||
- name: RESOURCES_HOST
|
||||
value:
|
||||
_default: "http://iams.iam.svc.cluster.local:8080"
|
||||
|
||||
- name: FLOWS_DB_HOST
|
||||
value:
|
||||
_default: "192.168.2.45"
|
||||
|
||||
- name: FLOWS_DB_PORT
|
||||
value:
|
||||
_default: "5432"
|
||||
|
||||
- name: ISSUES_DB_PORT
|
||||
value:
|
||||
_default: "5432"
|
||||
|
||||
- name: ISSUES_DB_HOST
|
||||
value:
|
||||
_default: "192.168.2.45"
|
||||
|
||||
- name: DJANGO_BASE_HOST
|
||||
value:
|
||||
_default: "https://test.sarex.brusnika.tech"
|
||||
|
||||
secretEnvs:
|
||||
- name: ADMIN_PANEL_SECRET_KEY
|
||||
secretName:
|
||||
|
||||
@ -35,7 +35,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/flows-frontend:contour_dcc5b5e6
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/flows-frontend:contour_ed219085
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
|
||||
@ -15,6 +15,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
deployment:
|
||||
args:
|
||||
_default:
|
||||
|
||||
@ -15,6 +15,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
celery:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
deployment:
|
||||
args:
|
||||
_default:
|
||||
|
||||
15
apps/flows/uralkal/frontend.yaml
Normal file
15
apps/flows/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: flows
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -11,3 +11,7 @@ patches:
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: celery
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
@ -42,7 +42,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/iams:contour_dada80a8
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/iams:contour_b52d632c
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ spec:
|
||||
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/iams:production_786e19c3
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/iams:contour_dada80a8
|
||||
pullPolicy:
|
||||
_default: IfNotPresent
|
||||
|
||||
@ -158,6 +158,22 @@ spec:
|
||||
- name: KAFKA_TOPIC_COMPANY_RESOURCE_PERMISSIONS
|
||||
value:
|
||||
_default: "company_resource_permissions"
|
||||
- name: AUTH_ENABLED
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
- name: ZITADEL_ENABLED
|
||||
value:
|
||||
_default: "false"
|
||||
|
||||
- name: ZITADEL_ORG_RULES_FILE
|
||||
value:
|
||||
_default: "config/zitadel/org-rules-prod.json"
|
||||
|
||||
- name: KAFKA_TOPIC_LEGACY_AMS_SYNC
|
||||
value:
|
||||
_default: "ams-sync"
|
||||
|
||||
secretEnvs:
|
||||
- name: DB_DSN
|
||||
secretName:
|
||||
|
||||
@ -130,6 +130,94 @@ spec:
|
||||
- name: API_ADDRESS
|
||||
value:
|
||||
_default: "8000"
|
||||
- name: DEBUG
|
||||
value:
|
||||
_default: "false"
|
||||
|
||||
- name: HTTP_APP_HOST
|
||||
value:
|
||||
_default: "0.0.0.0"
|
||||
|
||||
- name: HTTP_APP_PORT
|
||||
value:
|
||||
_default: "8000"
|
||||
|
||||
- name: HTTP_APP_ROOT_PATH
|
||||
value:
|
||||
_default: "/inspections"
|
||||
|
||||
- name: HTTP_APP_WORKERS
|
||||
value:
|
||||
_default: "3"
|
||||
|
||||
- name: HTTP_APP_ADMIN_ENABLE
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
- name: KAFKA_SSL_CAFILE
|
||||
value:
|
||||
_default: "/usr/local/share/ca-certificates/Yandex/YandexInternalRootCA.crt"
|
||||
|
||||
- name: KAFKA_EAV_ASSETS_TOPIC
|
||||
value:
|
||||
_default: "assets_broadcast"
|
||||
|
||||
- name: JWT_AUTH_ENABLE
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
- name: NOTIFICATIONS_ENABLE
|
||||
value:
|
||||
_default: "true"
|
||||
|
||||
- name: NOTIFICATIONS_EMAIL_FROM
|
||||
value:
|
||||
_default: "hello@sarex.io"
|
||||
|
||||
- name: SAREX_BACKEND_URL
|
||||
value:
|
||||
_default: "https://test.sarex.brusnika.tech"
|
||||
|
||||
- name: SAREX_BACKEND_TIMEOUT
|
||||
value:
|
||||
_default: "30"
|
||||
|
||||
- name: EAV_URL
|
||||
value:
|
||||
_default: "http://eav-service.eav"
|
||||
|
||||
- name: EAV_TIMEOUT
|
||||
value:
|
||||
_default: "30"
|
||||
|
||||
- name: WORKFLOWS_TIMEOUT
|
||||
value:
|
||||
_default: "30"
|
||||
|
||||
- name: WORKFLOWS_EMAIL_DOCKER_IMAGE
|
||||
value:
|
||||
_default: "cr.yandex/crp3ccidau046kdj8g9q/notification:email"
|
||||
|
||||
- name: MOBILE_APP_CURRENT_VERSION
|
||||
value:
|
||||
_default: "1.0.0"
|
||||
|
||||
- name: MOBILE_APP_RECOMMENDED_VERSION
|
||||
value:
|
||||
_default: "1.0.0"
|
||||
|
||||
- name: MOBILE_APP_REQUIRED_VERSION
|
||||
value:
|
||||
_default: "1.0.0"
|
||||
|
||||
- name: MAILER_URL
|
||||
value:
|
||||
_default: "http://mailer-service.mailer:8000"
|
||||
|
||||
- name: MAILER_TIMEOUT
|
||||
value:
|
||||
_default: "30"
|
||||
|
||||
secretEnvs:
|
||||
- name: DATABASE_USER
|
||||
secretName:
|
||||
|
||||
15
apps/inspections/uralkal/backend.yaml
Normal file
15
apps/inspections/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: inspections
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
|
||||
@ -176,6 +176,10 @@ spec:
|
||||
- name: API_ADDRESS
|
||||
value:
|
||||
_default: "8000"
|
||||
- name: RABBITMQ_HOSTNAME
|
||||
value:
|
||||
_default: "rabbitmq.rabbitmq.svc.cluster.local:5672"
|
||||
|
||||
secretEnvs:
|
||||
- name: YC_S3_ACCESS_KEY_ID
|
||||
secretName:
|
||||
|
||||
@ -187,6 +187,18 @@ spec:
|
||||
- name: API_ADDRESS
|
||||
value:
|
||||
_default: "8000"
|
||||
- name: USE_NOTIFICATIONS
|
||||
value:
|
||||
_default: "True"
|
||||
|
||||
- name: ENABLE_MAILGUN
|
||||
value:
|
||||
_default: "False"
|
||||
|
||||
- name: RABBITMQ_HOSTNAME
|
||||
value:
|
||||
_default: "rabbitmq.rabbitmq.svc.cluster.local:5672"
|
||||
|
||||
secretEnvs:
|
||||
- name: YC_S3_ACCESS_KEY_ID
|
||||
secretName:
|
||||
|
||||
15
apps/issues/uralkal/backend.yaml
Normal file
15
apps/issues/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: issues
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/issues/uralkal/celery.yaml
Normal file
15
apps/issues/uralkal/celery.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: celery
|
||||
namespace: issues
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
celery:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/issues/uralkal/frontend.yaml
Normal file
15
apps/issues/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: issues
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -12,3 +12,15 @@ patches:
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: celery
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
- path: celery.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: celery
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
15
apps/mapper/uralkal/backend.yaml
Normal file
15
apps/mapper/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: mapper
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
|
||||
15
apps/measurements/uralkal/backend.yaml
Normal file
15
apps/measurements/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: measurements
|
||||
namespace: measurements
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: measurements
|
||||
|
||||
@ -14,6 +14,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
envs:
|
||||
- name: WORKER_TIMEOUT
|
||||
value:
|
||||
|
||||
15
apps/notes/uralkal/backend.yaml
Normal file
15
apps/notes/uralkal/backend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: backend
|
||||
namespace: notes
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/notes/uralkal/frontend.yaml
Normal file
15
apps/notes/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: notes
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
@ -15,6 +15,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
image:
|
||||
name:
|
||||
_default: cr.yandex/crp3ccidau046kdj8g9q/pm-backend:production_fa0f1551
|
||||
|
||||
@ -15,6 +15,11 @@ spec:
|
||||
values:
|
||||
services:
|
||||
celery:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
# Образ общий с backend — держать в одной версии обязательно,
|
||||
# иначе воркер разъедется с API по схеме задач и моделям.
|
||||
image:
|
||||
|
||||
15
apps/pm/uralkal/frontend.yaml
Normal file
15
apps/pm/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: pm
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -13,3 +13,11 @@ patches:
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: celery
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
- path: resources-static.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: resources-static
|
||||
|
||||
15
apps/pm/uralkal/resources-static.yaml
Normal file
15
apps/pm/uralkal/resources-static.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: resources-static
|
||||
namespace: pm
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
resources-static:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/prescriptions/uralkal/frontend.yaml
Normal file
15
apps/prescriptions/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: prescriptions
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
15
apps/processing/uralkal/api.yaml
Normal file
15
apps/processing/uralkal/api.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: workflows-api
|
||||
namespace: processing
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/processing/uralkal/engine-low.yaml
Normal file
15
apps/processing/uralkal/engine-low.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: engine-low
|
||||
namespace: processing
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/processing/uralkal/engine.yaml
Normal file
15
apps/processing/uralkal/engine.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: engine
|
||||
namespace: processing
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
15
apps/processing/uralkal/frontend.yaml
Normal file
15
apps/processing/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: processing
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
@ -2,3 +2,20 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: api.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: workflows-api
|
||||
- path: engine-low.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: engine-low
|
||||
- path: engine.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: engine
|
||||
- path: frontend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: frontend
|
||||
|
||||
15
apps/projects/uralkal/frontend.yaml
Normal file
15
apps/projects/uralkal/frontend.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: frontend
|
||||
namespace: projects
|
||||
spec:
|
||||
values:
|
||||
services:
|
||||
frontend:
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: null
|
||||
memory: null
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user