diff --git a/utils/must-gather/fetch-raw-results-pod-template.yaml b/utils/must-gather/fetch-raw-results-pod-template.yaml index bf1809c63..7bd835d1a 100644 --- a/utils/must-gather/fetch-raw-results-pod-template.yaml +++ b/utils/must-gather/fetch-raw-results-pod-template.yaml @@ -1,7 +1,7 @@ apiVersion: "v1" kind: Pod metadata: - name: extract-raw-results-%CLAIMNAME% + name: must-gather-raw-results-%CLAIMNAME% spec: securityContext: runAsNonRoot: true @@ -9,7 +9,7 @@ spec: type: RuntimeDefault restartPolicy: Never containers: - - name: extract-raw-results + - name: must-gather-raw-results image: registry.access.redhat.com/ubi9/ubi command: ["sleep", "60"] volumeMounts: diff --git a/utils/must-gather/gather_compliance b/utils/must-gather/gather_compliance index 04f7064cd..e661f0bd5 100755 --- a/utils/must-gather/gather_compliance +++ b/utils/must-gather/gather_compliance @@ -29,7 +29,7 @@ do mkdir ${RAW_RESULTS_DIR}/${SCAN} CLAIMNAME=$(${BIN} get pvc -n ${NAMESPACE} ${SCAN} -ojsonpath='{.metadata.name}') # The EXTRACT_POD_NAME needs to match the pod name in fetch-raw-results-pod-template.yaml - EXTRACT_POD_NAME="extract-raw-results-${CLAIMNAME}" + EXTRACT_POD_NAME="must-gather-raw-results-${CLAIMNAME}" sed s/%CLAIMNAME%/${CLAIMNAME}/g /usr/share/fetch-raw-results-pod-template.yaml > ${EXTRACT_PODS_DIR}/${EXTRACT_POD_NAME}-pod.yaml ${BIN} create -n ${NAMESPACE} -f ${EXTRACT_PODS_DIR}/${EXTRACT_POD_NAME}-pod.yaml