Skip to content

Commit d548c70

Browse files
committed
fix(peach-sync): removed npm dependency for peach cronjob entry point
- NPM no longer exists in container. Signed-off-by: qhanson55 <quinn.hanson@gov.bc.ca>
1 parent f1d6880 commit d548c70

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

charts/pcns/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: nr-permitconnect-navigator-service
33
# This is the chart version. This version number should be incremented each time you make changes
44
# to the chart and its templates, including the app version.
55
# Versions are expected to follow Semantic Versioning (https://semver.org/)
6-
version: 0.0.31
6+
version: 0.0.32
77
kubeVersion: ">= 1.13.0"
88
description: PermitConnect Navigator Service
99
# A chart can be either an 'application' or a 'library' chart.

charts/pcns/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# nr-permitconnect-navigator-service
22

3-
![Version: 0.0.31](https://img.shields.io/badge/Version-0.0.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
3+
![Version: 0.0.32](https://img.shields.io/badge/Version-0.0.32-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
44

55
PermitConnect Navigator Service
66

charts/pcns/templates/peachsynccronjob.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ spec:
4242
- name: peach-sync
4343
image: "{{ .Values.image.repository }}/{{ .Chart.Name }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4444
imagePullPolicy: {{ .Values.image.pullPolicy }}
45-
command: ["sh","-lc"]
46-
args:
47-
- "npm run peach:sync"
45+
command:
46+
- /usr/local/bin/node
47+
- sbin/peachSync.js
4848
resources:
4949
{{- toYaml .Values.peachSync.resources | nindent 16 }}
5050
env:

0 commit comments

Comments
 (0)