Skip to content

Commit

Permalink
fix: update kontinuous needs
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Jun 11, 2024
1 parent 9549ff6 commit 5d08fe0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
seedPath: _scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql

backend: &backendDev
~needs: [backend-cron]
~needs: [build-backend, pg]
env: &backendEnv
- name: S3_BUCKET_ENDPOINT
valueFrom:
Expand Down Expand Up @@ -53,7 +53,7 @@ backend: &backendDev

backend-export:
<<: *backendDev
~needs: [backend-cron]
~needs: [build-backend, pg]
ingress:
paths:
- /export
Expand Down
6 changes: 3 additions & 3 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
backend: &backendPreprod
host: "api-{{ .Values.global.host }}"
~needs: [backend-cron]
~needs: [build-backend, pg]
envFrom:
- secretRef:
name: "{{ .Values.global.pgSecretName }}"
Expand Down Expand Up @@ -41,14 +41,14 @@ backend: &backendPreprod

backend-export:
<<: *backendPreprod
~needs: [backend-cron]
~needs: [build-backend, pg]
ingress:
paths:
- /export
- /admin/structures/export

backend-cron:
~needs: [build-backend]
~needs: [build-backend, pg]
envFrom:
- secretRef:
name: "{{ .Values.global.pgSecretName }}"
Expand Down
6 changes: 3 additions & 3 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
DOMIFA_FRONTEND_META_ROBOTS: index,follow

backend-cron:
~needs: [build-backend]
~needs: [build-backend, pg]
replicas: 1
resources:
requests:
Expand Down Expand Up @@ -81,7 +81,7 @@ backend-cron:
value: backup/files

backend: &backendProd
~needs: [backend-cron]
~needs: [build-backend, pg]
host: "domifa-api.{{ .Values.global.domain }}"
autoscale:
minReplicas: 3
Expand Down Expand Up @@ -109,7 +109,7 @@ backend: &backendProd
env: *backendEnv

backend-export:
~needs: [backend-cron]
~needs: [build-backend, pg]
host: "domifa-api.{{ .Values.global.domain }}"
autoscale:
minReplicas: 2
Expand Down

0 comments on commit 5d08fe0

Please sign in to comment.