File tree Expand file tree Collapse file tree
attestation-manager/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # templates/cleanup-job.yaml
2+ apiVersion : batch/v1
3+ kind : Job
4+ metadata :
5+ name : cleanup-job-am
6+ namespace : {{ .Release.Namespace }}
7+ annotations :
8+ " helm.sh/hook " : post-delete
9+ " helm.sh/hook-delete-policy " : hook-succeeded
10+ spec :
11+ template :
12+ spec :
13+ containers :
14+ - name : cleanup-am
15+ image : debian:bullseye-slim
16+ command : ["sh", "-c", "rm -rf /tmp/attestation-manager"]
17+ volumeMounts :
18+ - name : host-volume
19+ mountPath : /tmp/attestation-manager
20+ restartPolicy : Never
21+ volumes :
22+ - name : host-volume
23+ hostPath :
24+ path : /tmp/attestation-manager
Original file line number Diff line number Diff line change 1+ # templates/cleanup-job.yaml
2+ apiVersion : batch/v1
3+ kind : Job
4+ metadata :
5+ name : cleanup-job-trustagent
6+ namespace : {{ .Release.Namespace }}
7+ annotations :
8+ " helm.sh/hook " : post-delete
9+ " helm.sh/hook-delete-policy " : hook-succeededspec:
10+ template :
11+ spec :
12+ containers :
13+ - name : cleanup-trustagent
14+ image : debian:bullseye-slim
15+ command : ["sh", "-c", "rm -rf /tmp/trustagent"]
16+ volumeMounts :
17+ - name : host-volume
18+ mountPath : /tmp/trustagent
19+ restartPolicy : Never
20+ volumes :
21+ - name : host-volume
22+ hostPath :
23+ path : /opt/trustagent
You can’t perform that action at this time.
0 commit comments