Skip to content

Commit

Permalink
Add mandatory migrateDBOnStartUp properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rhkp committed Aug 14, 2024
1 parent 040a234 commit 45a9f24
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: sonataflow-platform
spec:
persistence:
migrateDBOnStartUp: false # as the service's enabled flag is false
postgresql:
secretRef:
name: postgres-secrets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
strategyOptions:
KanikoBuildCacheEnabled: "true"
persistence:
migrateDBOnStartUp: false # as the service's enabled flag is false
postgresql:
secretRef:
name: postgres-secrets
Expand All @@ -35,6 +36,7 @@ spec:
dataIndex:
enabled: false
persistence:
migrateDBOnStartUp: false # as the service's enabled flag is false
postgresql:
jdbcUrl: jdbc:postgresql://postgres:5432/sonataflow?currentSchema=data-index-service
secretRef:
Expand All @@ -50,6 +52,7 @@ spec:
jobService:
enabled: false
persistence:
migrateDBOnStartUp: false # as the service's enabled flag is false
postgresql:
jdbcUrl: jdbc:postgresql://postgres:5432/sonataflow?currentSchema=jobs-service
secretRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ spec:
dataIndex:
enabled: false
persistence:
migrateDBOnStartUp: false # as the service's enabled flag is false
postgresql:
jdbcUrl: jdbc:postgresql://postgres:5432/sonataflow?currentSchema=data-index-service
secretRef:
Expand All @@ -41,6 +42,7 @@ spec:
jobService:
enabled: false
persistence:
migrateDBOnStartUp: false # as the service's enabled flag is false
postgresql:
jdbcUrl: jdbc:postgresql://postgres:5432/sonataflow?currentSchema=jobs-service
secretRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
sonataflow.org/version: 0.0.1
spec:
persistence:
migrateDBOnStartUp: false
postgresql:
secretRef:
name: postgres-secrets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: sonataflow-platform
spec:
persistence:
migrateDBOnStartUp: false
postgresql:
secretRef:
name: my-secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
sonataflow.org/version: 0.0.1
spec:
persistence:
migrateDBOnStartUp: false
postgresql:
secretRef:
name: postgres-secrets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: sonataflow-platform
spec:
persistence:
migrateDBOnStartUp: true # as the service's enabled flag is true
postgresql:
secretRef:
name: postgres-secrets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: sonataflow-platform
spec:
persistence:
migrateDBOnStartUp: false
postgresql:
secretRef:
name: postgres-secrets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: sonataflow-platform
spec:
persistence:
migrateDBOnStartUp: false
postgresql:
secretRef:
name: postgres-secrets
Expand Down

0 comments on commit 45a9f24

Please sign in to comment.