From 0de748a22d1e69b0ee0cee840780843994ebc431 Mon Sep 17 00:00:00 2001 From: Ben Eggers <64657842+beggers@users.noreply.github.com> Date: Thu, 2 May 2024 12:24:34 -0700 Subject: [PATCH] [ENH] annotations for migration jobs (#2116) ## 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)?* --- k8s/distributed-chroma/templates/log-migration.yaml | 4 ++++ k8s/distributed-chroma/templates/sysdb-migration.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/k8s/distributed-chroma/templates/log-migration.yaml b/k8s/distributed-chroma/templates/log-migration.yaml index e6664d3f819..6f2a186b737 100644 --- a/k8s/distributed-chroma/templates/log-migration.yaml +++ b/k8s/distributed-chroma/templates/log-migration.yaml @@ -8,6 +8,10 @@ spec: metadata: labels: app: logservice-migration + annotations: + {{ range .Values.sysdbMigration.annotations }} + {{ .name }}: {{ .value }} + {{ end }} spec: restartPolicy: OnFailure containers: diff --git a/k8s/distributed-chroma/templates/sysdb-migration.yaml b/k8s/distributed-chroma/templates/sysdb-migration.yaml index dc62d157603..ec96a311b57 100644 --- a/k8s/distributed-chroma/templates/sysdb-migration.yaml +++ b/k8s/distributed-chroma/templates/sysdb-migration.yaml @@ -8,6 +8,10 @@ spec: metadata: labels: app: sysdb-migration + annotations: + {{ range .Values.sysdbMigration.annotations }} + {{ .name }}: {{ .value }} + {{ end }} spec: restartPolicy: OnFailure containers: