openshift-apps: add supplemental groups to fedora-ostree-pruner

This is similar to what we've done for coreos-ostree-importer. See
https://pagure.io/releng/issue/8811#comment-629051 for more information.
This commit is contained in:
Dusty Mabe 2022-12-14 14:21:51 -05:00
parent b6622ab49b
commit 2f42b33462
No known key found for this signature in database
GPG key ID: 3302DBD73952E671

View file

@ -28,6 +28,10 @@ spec:
image: ""
imagePullPolicy: IfNotPresent
resources: {}
# The files in the ostree volumes are created with group ownership of 263.
# We need to have 263 in our supplemental groups. See https://pagure.io/releng/issue/8811#comment-629051
securityContext:
supplementalGroups: [263]
volumes:
- name: fedora-ostree-content-volume
persistentVolumeClaim: