Skip to content

Commit 7ec1f82

Browse files
committed
feature(trieve-helm): add additionalLabels for postgres within helm
1 parent 90ffc1d commit 7ec1f82

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

argocd-app.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
namespace: trieve
1111
source:
1212
repoURL: https://devflowinc.github.io/trieve-helm
13-
targetRevision: 0.2.43
13+
targetRevision: 0.2.44
1414
chart: trieve
1515
helm:
1616
releaseName: trieve-local
@@ -29,6 +29,8 @@ spec:
2929
postgres:
3030
# Enables Postgres via the subchart
3131
enabled: true
32+
additionalLabels:
33+
owner: gen-ai
3234
# Installs cloudnative-pg operator
3335
installCrds: true
3436
# Pulls from secret if postgres.enabled = true
@@ -145,6 +147,9 @@ spec:
145147
templates:
146148
podTemplates:
147149
- name: clickhouse-pod-template
150+
metadata:
151+
labels:
152+
owner: gen-ai
148153
spec:
149154
containers:
150155
- name: clickhouse

charts/trieve/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: trieve
33
description: Helm chart expressing Trieve deployment without any dependencies
44
type: application
5-
version: 0.2.44
5+
version: 0.2.45
66
appVersion: "0.12.0"
77
dependencies:
88
- name: qdrant

charts/trieve/charts/postgres/templates/postgres-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
app.kubernetes.io/name: {{ $.Release.Name }}-trieve-postgres
77
app.kubernetes.io/instance: {{ .Release.Name }}
8-
{{- with .Values.global.additionalLabels }}
8+
{{- with .Values.additionalLabels }}
99
{{- toYaml . | nindent 4 }}
1010
{{- end }}
1111
spec:

charts/trieve/charts/postgres/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
installCrds: true
22

3+
additionalLabels: {}
4+
# owner: gen-ai
5+
36
clusterSpec:
47
instances: 3
58

charts/trieve/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
global:
22
additionalLabels:
33
# Add additional labels to the deployment
4-
# owner: gen-ai
4+
owner: gen-ai
55

66
additionalAnnotations:
77
# Add additional annotations to the deployment
@@ -19,6 +19,8 @@ postgres:
1919
enabled: true
2020
# Installs cloudnative-pg operator
2121
installCrds: true
22+
# Override additionalLabels to prevent merge conflict with remote chart
23+
additionalLabels: {}
2224
# Pulls from secret if postgres.enabled = true
2325
# dbURI: "postgres://postgres:[email protected]:5432/trieve"
2426
# This requires installing cloud-native-pg operator https://cloudnative-pg.io/documentation/1.24/installation_upgrade/

0 commit comments

Comments
 (0)