File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 command : # Should not be in the final container
1414 - more
1515 - foo
16+ volumeMounts :
17+ - mountPath : /.cache
18+ name : cache
1619 env :
1720 - name : FOO
1821 value : bar
1922 securityContext :
2023 allowPrivilegeEscalation : true
24+ volumes :
25+ - name : cache
26+ emptyDir :
27+ sizeLimit : 100Mi
Original file line number Diff line number Diff line change @@ -59,4 +59,10 @@ DEBUG_DETIK="true"
5959
6060 secCont=" $( kubectl -n " ${DETIK_CLIENT_NAMESPACE} " get podConfig podconfig -ojson | jq -r ' .spec.template.spec.containers[0].securityContext.allowPrivilegeEscalation' ) "
6161 verify_job_pod_values ' k8up.io/owned-by=backup_k8up-backup' .spec.containers[0].securityContext.allowPrivilegeEscalation " ${secCont} "
62+
63+ secCont=" $( kubectl -n " ${DETIK_CLIENT_NAMESPACE} " get podConfig podconfig -ojson | jq -r ' .spec.template.spec.containers[0].volumeMounts[0].mountPath' ) "
64+ verify_job_pod_values ' k8up.io/owned-by=backup_k8up-backup' .spec.containers[0].volumeMounts[0].mountPath " ${secCont} "
65+
66+ secCont=" $( kubectl -n " ${DETIK_CLIENT_NAMESPACE} " get podConfig podconfig -ojson | jq -r ' .spec.template.spec.volumes[0].name' ) "
67+ verify_job_pod_values ' k8up.io/owned-by=backup_k8up-backup' .spec.volumes[0].name " ${secCont} "
6268}
You can’t perform that action at this time.
0 commit comments