Skip to content

Commit

Permalink
Revert "Revert readOnlyRootFilesystem for image_pruner (konflux-ci#65)"
Browse files Browse the repository at this point in the history
By replacing requests with urllib, the change can be restored.

This reverts commit 2b2e5a5.
  • Loading branch information
tkdchen committed Jan 5, 2024
1 parent 4299829 commit 0d7934e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/registry_image_pruner/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
requests:
cpu: 150m
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
restartPolicy: OnFailure
securityContext:
runAsNonRoot: true
Expand Down

0 comments on commit 0d7934e

Please sign in to comment.