Skip to content

Commit 8b48ac9

Browse files
feat: system runtimes in git
1 parent d067c7c commit 8b48ac9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

charts/cf-runtime/templates/hooks/pre-delete/job-cleanup-resources.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ spec:
4040
- "/bin/bash"
4141
args:
4242
- -ec
43-
- | {{ .Files.Get "files/cleanup-runtime.sh" | nindent 10 }}
43+
- |
44+
{{ .Files.Get "files/cleanup-runtime.sh" | nindent 10 }}
4445
env:
46+
{{- if .Values.runtime.agent }}
4547
- name: AGENT_NAME
4648
value: {{ include "runtime.runtime-environment-spec.agent-name" . | default "" }}
49+
{{- end }}
4750
- name: RUNTIME_NAME
4851
value: {{ include "runtime.runtime-environment-spec.runtime-name" . }}
4952
- name: API_HOST

0 commit comments

Comments
 (0)