Progress on exercise 6.

This commit is contained in:
2024-09-02 08:30:56 +12:00
parent 8d871fca05
commit 0cf8a70488

View File

@ -72,7 +72,7 @@ spec:
image: registry.redhat.io/rhel8/support-tools@sha256:ab42416e9e3460f6c6adac4cf09013be6f402810fba452ea95bd717c3ab4076b image: registry.redhat.io/rhel8/support-tools@sha256:ab42416e9e3460f6c6adac4cf09013be6f402810fba452ea95bd717c3ab4076b
command: ["sleep", "3000"] command: ["sleep", "3000"]
volumeMounts: volumeMounts:
- mountPath: "/workers-scan-results" - mountPath: "/ocp4-moderate-scan-results"
name: ocp4-moderate-scan-vol name: ocp4-moderate-scan-vol
volumes: volumes:
- name: ocp4-moderate-scan-vol - name: ocp4-moderate-scan-vol
@ -90,4 +90,12 @@ mkdir /mnt/high-side-data/compliance-results
oc cp pv-extract:/ocp4-moderate-scan-results --namespace openshift-compliance . oc cp pv-extract:/ocp4-moderate-scan-results --namespace openshift-compliance .
``` ```
After the copy has completed we should delete our helper pod to unbind the volume:
```bash
oc delete pod pv-extract --namespace openshift-compliance
```
## 6.3 Reviewing raw result files