We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d067c7c commit 8b48ac9Copy full SHA for 8b48ac9
charts/cf-runtime/templates/hooks/pre-delete/job-cleanup-resources.yaml
@@ -40,10 +40,13 @@ spec:
40
- "/bin/bash"
41
args:
42
- -ec
43
- - | {{ .Files.Get "files/cleanup-runtime.sh" | nindent 10 }}
+ - |
44
+ {{ .Files.Get "files/cleanup-runtime.sh" | nindent 10 }}
45
env:
46
+ {{- if .Values.runtime.agent }}
47
- name: AGENT_NAME
48
value: {{ include "runtime.runtime-environment-spec.agent-name" . | default "" }}
49
+ {{- end }}
50
- name: RUNTIME_NAME
51
value: {{ include "runtime.runtime-environment-spec.runtime-name" . }}
52
- name: API_HOST
0 commit comments