Skip to content

Commit

Permalink
HEAT-230 fix yaml (#19)
Browse files Browse the repository at this point in the history
* HEAT-230 fix yaml

* HEAT-230 remove date as it breaks frontend
  • Loading branch information
andrewrlee authored May 2, 2024
1 parent fe309b2 commit 567d79d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions helm_deploy/hmpps-component-dependencies/templates/_envs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ env:
name: {{ template "app.name" . }}
key: APPINSIGHTS_INSTRUMENTATIONKEY

- name: APPINSIGHTS_INSTRUMENTATIONKEY
value: "InstrumentationKey=$(APPINSIGHTS_INSTRUMENTATIONKEY);IngestionEndpoint=https://northeurope-0.in.applicationinsights.azure.com/;LiveEndpoint=https://northeurope.livediagnostics.monitor.azure.com/"
- name: APPINSIGHTS_INSTRUMENTATIONKEY
value: "InstrumentationKey=$(APPINSIGHTS_INSTRUMENTATIONKEY);IngestionEndpoint=https://northeurope-0.in.applicationinsights.azure.com/;LiveEndpoint=https://northeurope.livediagnostics.monitor.azure.com/"

{{range .Values.appinsightEnvs }}
- name: {{ . }}_APPINSIGHTS_ID
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const run = async () => {
logger.info(`Starting to publish dependency info`)

const data = Object.fromEntries(componentDependencies)
await redisService.write({ lastUpdated: new Date().toISOString(), ...data })
await redisService.write(data)

logger.info(`Finished publishing dependency info`)

Expand Down

0 comments on commit 567d79d

Please sign in to comment.