Skip to content

Commit 442a3e0

Browse files
committed
generate ENVS based on runtime_overrides values block
Signed-off-by: Kaviraj <[email protected]>
1 parent 1ec52d8 commit 442a3e0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

weaviate/templates/weaviateStatefulset.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ spec:
9696
key: {{ $key | quote }}
9797
{{- end }}
9898
{{- end }}
99+
- name: RUNTIME_OVERRIDES_ENABLED
100+
value: {{ .Values.runtime_overrides.enabled | quote }}
101+
- name: RUNTIME_OVERRIDES_PATH
102+
value: {{ .Values.runtime_overrides.path | quote }}
103+
- name: RUNTIME_OVERRIDES_LOAD_INTERVAL
104+
value: {{ .Values.runtime_overrides.load_interval | quote }}
99105
- name: CLUSTER_BASIC_AUTH_USERNAME
100106
valueFrom:
101107
secretKeyRef:

weaviate/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,6 @@ env:
321321
PROMETHEUS_MONITORING_ENABLED: false
322322
PROMETHEUS_MONITORING_GROUP: false
323323

324-
RUNTIME_OVERRIDES_ENABLED: false
325-
RUNTIME_OVERRIDES_PATH: "/config/overrides.yaml"
326-
RUNTIME_OVERRIDES_LOAD_INTERVAL: 2m
327-
328324
# Set a MEM limit for the Weaviate Pod so it can help you both increase GC-related
329325
# performance as well as avoid GC-related out-of-memory (“OOM”) situations
330326
# GOMEMLIMIT: 6GiB

0 commit comments

Comments
 (0)