unknown field "fsGroup" in io.k8s.api.core.v1.SecurityContext
Job #24348 failed for bootstrap@0eae116cbf6d700d393675e82b13143301397bbf:
Upgrading nextcloud/nextcloud-collabora
Release "oas-test-files" does not exist. Installing it now.
Error: error validating "": error validating data: ValidationError(Job.spec.template.spec.containers[0].securityContext): unknown field "fsGroup" in io.k8s.api.core.v1.SecurityContext
err: release "oas-test-files" in "20-nextcloud.yaml" failed: exit status 1
nextcloud/templates/job-register-collabora.yaml
creates a container with fsGroup
in the container security context. This is not allowed, it can only be specified in the pod security context.
Edited by Maarten de Waard