Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-304: allow running search reindexing fully with cronjob #305

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/openmetadata/templates/cron-reindex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
suspend: true
suspend: {{ .Values.openmetadata.config.reindexConfig.suspend }}
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 1
jobTemplate:
Expand Down Expand Up @@ -126,4 +126,4 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
restartPolicy: OnFailure
schedule: "0/5 * * * *"
schedule: {{ .Values.openmetadata.config.reindexConfig.schedule }}
7 changes: 7 additions & 0 deletions charts/openmetadata/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@
},
"debug": {
"type": "boolean"
},
"schedule": {
"type": "string"
},
"suspend": {
"type": "boolean",
"default": true
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions charts/openmetadata/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ openmetadata:
additionalArgs: ""
deployPipelinesConfig:
debug: false
# You can pass the additional argument flags to the openmetadata-ops.sh reindex command
additionalArgs: ""
reindexConfig:
debug: false
# You can choose whether to run the job on demand or on schedule.
suspend: true
# You can pass the additional argument flags to the openmetadata-ops.sh reindex command
additionalArgs: ""
schedule: "0/5 * * * *"
# Values can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL
logLevel: INFO
clusterName: openmetadata
Expand Down