openshift-apps/coreos-ostree-importer: trim down supplemental groups

Turns out we only need 263. See https://pagure.io/releng/issue/8811#comment-629051
This commit is contained in:
Dusty Mabe 2020-04-09 18:20:27 -04:00 committed by Pierre-Yves Chibon
parent c98b32e3a6
commit cb1f9bf585

View file

@ -43,10 +43,10 @@ spec:
image: "" image: ""
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: {} resources: {}
# The files in the ostree volumes are created by either 48 (apache user by bodhi/pungi) # The files in the ostree volumes are created with group ownership of 263.
# or 263 (ftpsync by new-updates-sync). We need to have these as our supplemental groups # We need to have 263 in our supplemental groups. See https://pagure.io/releng/issue/8811#comment-629051
securityContext: securityContext:
supplementalGroups: [48, 263] supplementalGroups: [263]
volumes: volumes:
- name: fedora-ostree-content-volume - name: fedora-ostree-content-volume
persistentVolumeClaim: persistentVolumeClaim: