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/tender-dryers-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"helm-charts": patch
---

fix: update the new entrypoint since v2.0.2 (alert cronjob)
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
.act/act.yaml
node_modules

# yarn
**/yarn-debug.log*
**/yarn-error.log*
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion charts/hdx-oss-v2/templates/cronjobs/task-checkAlerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
- name: task
image: "{{ .Values.hyperdx.image.repository }}:{{ .Values.hyperdx.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.hyperdx.image.pullPolicy }}
command: ["node", "/app/api/build/tasks/index.js", "check-alerts"]
command: ["node", "/app/packages/api/tasks/index", "check-alerts"]
envFrom:
- configMapRef:
name: {{ include "hdx-oss.fullname" . }}-app-config
Expand Down
2 changes: 1 addition & 1 deletion charts/hdx-oss-v2/tests/task-checkAlerts_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tests:
value: hyperdx/hyperdx:2-beta
- equal:
path: spec.jobTemplate.spec.template.spec.containers[0].command
value: ["node", "/app/api/build/tasks/index.js", "check-alerts"]
value: ["node", "/app/packages/api/tasks/index", "check-alerts"]
- isSubset:
path: spec.jobTemplate.spec.template.spec.containers[0].resources
content:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"dependencies": {
"@changesets/cli": "^2.29.4",
"js-yaml": "^4.1.0"
}
},
"packageManager": "[email protected]+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d"
}
Loading