Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk committed Jul 15, 2024
1 parent a8ec306 commit 746eb4f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 713 deletions.
292 changes: 0 additions & 292 deletions backend/openshift.deploy.yml

This file was deleted.

10 changes: 9 additions & 1 deletion charts/app/templates/backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,15 @@ spec:
- name: FLYWAY_CONNECT_RETRIES
value: "10"
- name: FLYWAY_LOCATIONS
value: "filesystem:/flyway/sql,filesystem:/flyway/sql-test"
value: {{- if eq .Release.Namespace "dev" -}}
{{ .Values.global.secrets.flywayLocations.dev }}
{{- else if eq .Release.Namespace "test" -}}
{{ .Values.global.secrets.flywayLocations.test }}
{{- else if eq .Release.Namespace "prod" -}}
{{ .Values.global.secrets.flywayLocations.prod }}
{{- else -}}
"filesystem:./migrations/sql"
{{- end }}
resources:
limits:
cpu: 200m
Expand Down
4 changes: 4 additions & 0 deletions charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ global:
keycloakClientId: ~
caseManagementApiUrl: ~
postgresqlEnableLogging: "false"
flwayLocations:
dev: "filesystem:./migrations/sql-dev, filesystem:./migrations/test-only-migrations"
test: "filesystem:./migrations/sql-dev, filesystem:./migrations/test-only-migrations"
prod: "filesystem:./migrations/sql-dev"

#-- domain of the application, it is required, apps.silver.devops.gov.bc.ca for silver cluster and apps.devops.gov.bc.ca for gold cluster
domain: "apps.silver.devops.gov.bc.ca" # it is apps.gold.devops.gov.bc.ca for gold cluster
Expand Down
Loading

0 comments on commit 746eb4f

Please sign in to comment.