Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

remove /repos/ from paths #9

Merged
merged 3 commits into from
Sep 27, 2023
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: 2 additions & 3 deletions templates/_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@ spec:
exec:
command:
- /bin/bash
- /repos/epics/ioc/liveness.sh
- /epics/ioc/liveness.sh
initialDelaySeconds: 120
periodSeconds: 10
lifecycle:
preStop:
exec:
# TODO move this up into ioc folder (in ioc-template itself)
command: ["bash", "-c", "/repos/epics/ioc/stop.sh"]
command: ["bash", "-c", "/epics/ioc/stop.sh"]
volumeMounts:
- name: config-volume
mountPath: {{ .Values.iocFolder }}/config
Expand Down
2 changes: 1 addition & 1 deletion templates/_ioc-volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 10Mi
storage: 50Mi
{{- end }}

{{- if .Values.dataVolume.pvc }}
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports:
hostNetwork: true

# root folder for ioc source/binaries - not expected to change
iocFolder: /repos/epics/ioc
iocFolder: /epics/ioc

# provide a PVC for autosave mounted at /autosave
autosave: false
Expand Down
Loading