diff --git a/deploy/helmfiles/stg.yaml b/deploy/helmfiles/stg.yaml index 3fb9d2d..71e9fb3 100644 --- a/deploy/helmfiles/stg.yaml +++ b/deploy/helmfiles/stg.yaml @@ -4,6 +4,8 @@ charts: values: - ../helm-chart/values.yaml set: + - name: maestro.env + value: stg - name: maestro.duc_url value: duc.stg.dadosfera.ai - name: hostname @@ -22,35 +24,37 @@ charts: value: 1 # Environment to test Network Policies - - name: private-maestro - chart: ../helm-chart - values: - - ../helm-chart/values.yaml - set: - - name: app_name - value: maestro-private - - name: maestro.duc_url - value: duc.stg.dadosfera.ai - - name: hostname - value: private-maestro.stg.dadosfera.ai - - name: maestro.pi_factory_url - value: pi-factory.dadosfera.ai - - name: maestro.in_factory_url - value: in-factory.stg.dadosfera.ai - - name: maestro.tr_factory_url - value: in-factory.dadosfera.ai - - name: maestro.open_customer_id - value: b3e3dfe5-b992-4586-a73c-c0b0c00f615d - - name: maestro.open_group_id - value: e3f98a2f-7748-4981-8505-7695c8ca8218 - # Customer id - - name: maestro.dedicated_proxy - value: 14d52fd4-d83d-4cdd-be34-bf11cc28b3bd - - name: replicaCount - value: 1 - - name: affinity - value: null - - name: resources - value: null - - name: maestro.restricted_ip - value: "57.151.113.140/30" + # - name: private-maestro + # chart: ../helm-chart + # values: + # - ../helm-chart/values.yaml + # set: + # - name: app_name + # value: maestro-private + # - name: maestro.env + # value: stg + # - name: maestro.duc_url + # value: duc.stg.dadosfera.ai + # - name: hostname + # value: private-maestro.stg.dadosfera.ai + # - name: maestro.pi_factory_url + # value: pi-factory.dadosfera.ai + # - name: maestro.in_factory_url + # value: in-factory.stg.dadosfera.ai + # - name: maestro.tr_factory_url + # value: in-factory.dadosfera.ai + # - name: maestro.open_customer_id + # value: b3e3dfe5-b992-4586-a73c-c0b0c00f615d + # - name: maestro.open_group_id + # value: e3f98a2f-7748-4981-8505-7695c8ca8218 + # # Customer id + # - name: maestro.dedicated_proxy + # value: 14d52fd4-d83d-4cdd-be34-bf11cc28b3bd + # - name: replicaCount + # value: 1 + # - name: affinity + # value: null + # - name: resources + # value: null + # - name: maestro.restricted_ip + # value: "57.151.113.140/30" diff --git a/src/main.ts b/src/main.ts index 5eab915..06152d2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ async function bootstrap() { }); app.use(helmet()); - if (process.env.ENV === 'prd') { + if (process.env.ENV !== 'local') { app.use('/catalog/register-dataset', json({ limit: '10mb' })); app.use('/catalog/register-dataset', urlencoded({ extended: true, limit: '10mb' })); }