Skip to content

Commit

Permalink
fix: Revert to bootstrap_storage.sh migration scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-jain-10 committed Feb 6, 2024
1 parent dd64bd6 commit 5bf8cd6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/openmetadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ helm install openmetadata open-metadata/openmetadata --values <<path-to-values-f
| openmetadata.config.smtpConfig.supportUrl | string | `https://slack.open-metadata.org` | OM_SUPPORT_URL |
| openmetadata.config.smtpConfig.transportationStrategy | string | `SMTP_TLS` | SMTP_SERVER_STRATEGY |
| openmetadata.config.smtpConfig.username | string | `Empty String` | SMTP_SERVER_USERNAME |
| openmetadata.config.upgradeMigrationConfigs.debug | bool | `false` | |
| openmetadata.config.upgradeMigrationConfigs.additionalArgs | string | `Empty String` | |
| openmetadata.config.upgradeMigrationConfigs.force | bool | `false` | |
| openmetadata.config.upgradeMigrationConfigs.migrationLimitParam | int | `1200` | MIGRATION_LIMIT_PARAM |
| openmetadata.config.web.enabled | bool | `true` | |
| openmetadata.config.web.contentTypeOptions.enabled | bool | `false` | WEB_CONF_CONTENT_TYPE_OPTIONS_ENABLED |
| openmetadata.config.web.csp.enabled | bool | `false` | WEB_CONF_XSS_CSP_ENABLED |
Expand Down
2 changes: 2 additions & 0 deletions charts/openmetadata/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ spec:
{{- toYaml . | nindent 10 }}
{{- end }}
env:
- name: MIGRATION_LIMIT_PARAM
value: "{{ .Values.openmetadata.config.upgradeMigrationConfigs.migrationLimitParam }}"
{{- include "OpenMetadata.configs" . | nindent 8 }}
{{- with .Values.extraEnvs }}
{{- toYaml . | nindent 8 }}
Expand Down
8 changes: 4 additions & 4 deletions charts/openmetadata/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
"type": "object",
"additionalProperties": false,
"properties": {
"additionalArgs": {
"type": "string"
},
"debug": {
"force": {
"type": "boolean"
},
"migrationLimitParam": {
"type": "integer"
}
}
},
Expand Down
6 changes: 2 additions & 4 deletions charts/openmetadata/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ replicaCount: 1
openmetadata:
config:
upgradeMigrationConfigs:
debug: false
# You can pass the additional argument flags to the openmetadata-ops.sh migrate command
# Example if you want to force migration runs, use additionalArgs: "--force"
additionalArgs: ""
force: false
migrationLimitParam: 1200
# Values can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL
logLevel: INFO
clusterName: openmetadata
Expand Down

0 comments on commit 5bf8cd6

Please sign in to comment.