diff --git a/templates/_deployment.yaml b/templates/_deployment.yaml index 1c39ea3..5a92b16 100644 --- a/templates/_deployment.yaml +++ b/templates/_deployment.yaml @@ -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 diff --git a/templates/_ioc-volume.yaml b/templates/_ioc-volume.yaml index 777b797..4401e30 100644 --- a/templates/_ioc-volume.yaml +++ b/templates/_ioc-volume.yaml @@ -14,7 +14,7 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Mi + storage: 50Mi {{- end }} {{- if .Values.dataVolume.pvc }} diff --git a/values.yaml b/values.yaml index 040d541..f3210a6 100644 --- a/values.yaml +++ b/values.yaml @@ -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