Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/purple-mirrors-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"helm-charts": patch
---

fix: rename CRON_IN_APP_DISABLED to RUN_SCHEDULED_TASKS_EXTERNALLY
2 changes: 1 addition & 1 deletion charts/hdx-oss-v2/templates/configmaps/app-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ data:
MONGO_URI: "{{ tpl .Values.hyperdx.mongoUri . }}"
OTEL_SERVICE_NAME: "hdx-oss-api"
USAGE_STATS_ENABLED: "{{ .Values.hyperdx.usageStatsEnabled | default true }}"
CRON_IN_APP_DISABLED: "{{ .Values.tasks.enabled | default false }}"
RUN_SCHEDULED_TASKS_EXTERNALLY: "{{ .Values.tasks.enabled | default false }}"
OPAMP_PORT: "{{ .Values.hyperdx.opampPort }}"
OTEL_EXPORTER_OTLP_ENDPOINT: "{{ tpl .Values.hyperdx.otelExporterEndpoint . }}"
2 changes: 2 additions & 0 deletions charts/hdx-oss-v2/templates/cronjobs/task-checkAlerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ spec:
value: "production"
- name: OTEL_SERVICE_NAME
value: "hdx-oss-task-check-alerts"
- name: APP_TYPE
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used by internal logger

value: "scheduled-task"
resources:
{{- toYaml .Values.tasks.checkAlerts.resources | nindent 16 }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/hdx-oss-v2/tests/configmap_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tests:
path: data.USAGE_STATS_ENABLED
value: "true"
- equal:
path: data.CRON_IN_APP_DISABLED
path: data.RUN_SCHEDULED_TASKS_EXTERNALLY
value: "false"
- matchRegex:
path: data.MONGO_URI
Expand Down Expand Up @@ -85,4 +85,4 @@ tests:
asserts:
- equal:
path: data.FRONTEND_URL
value: "http://custom-host:4000"
value: "http://custom-host:4000"