Skip to content

Commit 78e3d53

Browse files
fix: make job name randomization optional
1 parent d5b2bef commit 78e3d53

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

charts/langsmith/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ maintainers:
55
email: ankush@langchain.dev
66
description: Helm chart to deploy the langsmith application and all services it depends on.
77
type: application
8-
version: 0.8.13
8+
version: 0.8.14
99
appVersion: "0.8.38"

charts/langsmith/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# langsmith
22

3-
![Version: 0.8.13](https://img.shields.io/badge/Version-0.8.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.38](https://img.shields.io/badge/AppVersion-0.8.38-informational?style=flat-square)
3+
![Version: 0.8.14](https://img.shields.io/badge/Version-0.8.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.38](https://img.shields.io/badge/AppVersion-0.8.38-informational?style=flat-square)
44

55
Helm chart to deploy the langsmith application and all services it depends on.
66

@@ -225,6 +225,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
225225
| backend.authBootstrap.labels | object | `{}` | |
226226
| backend.authBootstrap.nodeSelector | object | `{}` | |
227227
| backend.authBootstrap.podSecurityContext | object | `{}` | |
228+
| backend.authBootstrap.randomizeName | bool | `true` | |
228229
| backend.authBootstrap.resources | object | `{}` | |
229230
| backend.authBootstrap.securityContext | object | `{}` | |
230231
| backend.authBootstrap.sidecars | list | `[]` | |
@@ -249,6 +250,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
249250
| backend.clickhouseMigrations.labels | object | `{}` | |
250251
| backend.clickhouseMigrations.nodeSelector | object | `{}` | |
251252
| backend.clickhouseMigrations.podSecurityContext | object | `{}` | |
253+
| backend.clickhouseMigrations.randomizeName | bool | `true` | |
252254
| backend.clickhouseMigrations.resources | object | `{}` | |
253255
| backend.clickhouseMigrations.securityContext | object | `{}` | |
254256
| backend.clickhouseMigrations.sidecars | list | `[]` | |
@@ -317,6 +319,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
317319
| backend.migrations.labels | object | `{}` | |
318320
| backend.migrations.nodeSelector | object | `{}` | |
319321
| backend.migrations.podSecurityContext | object | `{}` | |
322+
| backend.migrations.randomizeName | bool | `true` | |
320323
| backend.migrations.resources | object | `{}` | |
321324
| backend.migrations.securityContext | object | `{}` | |
322325
| backend.migrations.sidecars | list | `[]` | |

charts/langsmith/templates/backend/auth-bootstrap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
apiVersion: batch/v1
1414
kind: Job
1515
metadata:
16-
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }}-auth-bootstrap-{{ randAlphaNum 5 | lower}}
16+
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }}-auth-bootstrap{{ ternary (printf "-%s" (randAlphaNum 5 | lower)) "" .Values.backend.authBootstrap.randomizeName }}
1717
labels:
1818
{{- include "langsmith.labels" . | nindent 4 }}
1919
{{- with.Values.backend.authBootstrap.labels }}

charts/langsmith/templates/backend/clickhouse-migrations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
apiVersion: batch/v1
55
kind: Job
66
metadata:
7-
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }}-ch-migrations-{{ randAlphaNum 5 | lower}}
7+
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }}-ch-migrations{{ ternary (printf "-%s" (randAlphaNum 5 | lower)) "" .Values.backend.clickhouseMigrations.randomizeName }}
88
labels:
99
{{- include "langsmith.labels" . | nindent 4 }}
1010
{{- with.Values.backend.clickhouseMigrations.labels }}

charts/langsmith/templates/backend/postgres-migrations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
apiVersion: batch/v1
55
kind: Job
66
metadata:
7-
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }}-pg-migrations-{{ randAlphaNum 5 | lower}}
7+
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }}-migrations{{ ternary (printf "-%s" (randAlphaNum 5 | lower)) "" .Values.backend.migrations.randomizeName }}
88
labels:
99
{{- include "langsmith.labels" . | nindent 4 }}
1010
{{- with.Values.backend.migrations.labels }}

charts/langsmith/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ backend:
281281
volumeMounts: []
282282
migrations:
283283
enabled: true
284+
# Helpful when running using helm template to avoid the job name conflict
285+
randomizeName: true
284286
labels: {}
285287
annotations: {}
286288
podSecurityContext: {}
@@ -308,6 +310,8 @@ backend:
308310
# You can set this to null to disable the TTL for the migrations job. Useful for some deployment setups.
309311
ttlSecondsAfterFinished: 600
310312
authBootstrap:
313+
# Helpful when running using helm template to avoid the job name conflict
314+
randomizeName: true
311315
labels: {}
312316
annotations: {}
313317
podSecurityContext: {}
@@ -335,6 +339,8 @@ backend:
335339
ttlSecondsAfterFinished: 600
336340
clickhouseMigrations:
337341
enabled: true
342+
# Helpful when running using helm template to avoid the job name conflict
343+
randomizeName: true
338344
labels: {}
339345
annotations: {}
340346
podSecurityContext: {}

0 commit comments

Comments
 (0)