++
This commit is contained in:
parent
86581360a8
commit
11b5d8193a
@ -54,18 +54,6 @@ spec:
|
|||||||
port:
|
port:
|
||||||
_default: 8000
|
_default: 8000
|
||||||
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu:
|
|
||||||
_default: "2.0"
|
|
||||||
memory:
|
|
||||||
_default: 512Mi
|
|
||||||
|
|
||||||
requests:
|
|
||||||
cpu:
|
|
||||||
_default: "1.0"
|
|
||||||
memory:
|
|
||||||
_default: 128Mi
|
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
@ -95,7 +83,7 @@ spec:
|
|||||||
enabled:
|
enabled:
|
||||||
_default: true
|
_default: true
|
||||||
name:
|
name:
|
||||||
_default: dockerhub
|
_default: regcred
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
monitoring: prometheus
|
monitoring: prometheus
|
||||||
|
|||||||
@ -7,3 +7,4 @@ resources:
|
|||||||
- sarex-backend.yaml
|
- sarex-backend.yaml
|
||||||
- celery.yaml
|
- celery.yaml
|
||||||
- export-project.yaml
|
- export-project.yaml
|
||||||
|
- s3-proxy.yaml
|
||||||
113
apps/django/brusnika-stage/s3-proxy.yaml
Normal file
113
apps/django/brusnika-stage/s3-proxy.yaml
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: s3-proxy
|
||||||
|
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: s3-proxy
|
||||||
|
|
||||||
|
replicaCount:
|
||||||
|
_default: 1
|
||||||
|
stage: 1
|
||||||
|
preprod: 3
|
||||||
|
production: 3
|
||||||
|
|
||||||
|
port:
|
||||||
|
_default: 8000
|
||||||
|
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
enabled: false
|
||||||
|
readiness:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
service:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
name:
|
||||||
|
_default: s3-proxy-service
|
||||||
|
|
||||||
|
type:
|
||||||
|
_default: ClusterIP
|
||||||
|
|
||||||
|
port:
|
||||||
|
_default: 80
|
||||||
|
|
||||||
|
targetPort:
|
||||||
|
_default: 8000
|
||||||
|
|
||||||
|
portName:
|
||||||
|
_default: http
|
||||||
|
|
||||||
|
imagePullSecrets:
|
||||||
|
enabled:
|
||||||
|
_default: true
|
||||||
|
name:
|
||||||
|
_default: regcred
|
||||||
|
|
||||||
|
labels:
|
||||||
|
monitoring: prometheus
|
||||||
|
envs:
|
||||||
|
- name: AWS_API_ENDPOINT
|
||||||
|
value:
|
||||||
|
_default: "http://minio-svc.minio.svc.cluster.local:9000"
|
||||||
|
- name: APP_PORT
|
||||||
|
value:
|
||||||
|
_default: "8000"
|
||||||
|
secretEnvs:
|
||||||
|
- name: AWS_ACCESS_KEY_ID
|
||||||
|
secretName:
|
||||||
|
_default: "sarex-media-storage-secret"
|
||||||
|
secretKey: "login"
|
||||||
|
- name: AWS_SECRET_ACCESS_KEY
|
||||||
|
secretName:
|
||||||
|
_default: "sarex-media-storage-secret"
|
||||||
|
secretKey: "password"
|
||||||
|
- name: AWS_S3_BUCKET
|
||||||
|
secretName:
|
||||||
|
_default: "sarex-media-storage-secret"
|
||||||
|
secretKey: "bucket"
|
||||||
|
|
||||||
|
commitSha: ""
|
||||||
|
gitlabUri: ""
|
||||||
|
gitlabJobUrl: ""
|
||||||
|
owner: ""
|
||||||
Loading…
Reference in New Issue
Block a user