Skip to content

Commit

Permalink
[ENH] annotations for migration jobs (#2116)
Browse files Browse the repository at this point in the history
## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
- Allow Helm chart consumers to specify annotations for the migration
jobs.

## Test plan
*How are these changes tested?*

- [ ] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
*Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the [docs
repository](https://github.com/chroma-core/docs)?*
  • Loading branch information
beggers authored May 2, 2024
1 parent 31c7f9d commit 0de748a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions k8s/distributed-chroma/templates/log-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ spec:
metadata:
labels:
app: logservice-migration
annotations:
{{ range .Values.sysdbMigration.annotations }}
{{ .name }}: {{ .value }}
{{ end }}
spec:
restartPolicy: OnFailure
containers:
Expand Down
4 changes: 4 additions & 0 deletions k8s/distributed-chroma/templates/sysdb-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ spec:
metadata:
labels:
app: sysdb-migration
annotations:
{{ range .Values.sysdbMigration.annotations }}
{{ .name }}: {{ .value }}
{{ end }}
spec:
restartPolicy: OnFailure
containers:
Expand Down

0 comments on commit 0de748a

Please sign in to comment.